Modifier and Type | Method and Description |
---|---|
MessageContext |
AxisFault.getFaultMessageContext()
Returns the MessageContext representation of the fault if the fault
was created by providing that.
|
Constructor and Description |
---|
AxisFault(org.apache.axiom.soap.SOAPFault fault,
MessageContext faultCtx) |
AxisFault(String message,
MessageContext faultMessageContext)
Create an AxisFault by providing a textual message and a MessageContext
that contains the actual fault representation.
|
AxisFault(String message,
MessageContext faultMessageContext,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static org.apache.axiom.om.OMElement |
AddressingFaultsHelper.getDetailElementForAddressingFault(MessageContext messageContext,
org.apache.axiom.om.OMNamespace addressingNamespaceObject) |
static String |
AddressingHelper.getRequestAddressingRequirementParameterValue(MessageContext response) |
static boolean |
AddressingHelper.isFaultRedirected(MessageContext messageContext)
Returns true if the FaultTo address does not match one of the supported
anonymous urls.
|
static boolean |
AddressingHelper.isReplyRedirected(MessageContext messageContext)
Returns true if the ReplyTo address does not match one of the supported
anonymous urls.
|
static boolean |
AddressingHelper.isSyncFaultAllowed(MessageContext messageContext)
Returns true if the FaultTo address matches one of the supported
anonymous urls.
|
static boolean |
AddressingHelper.isSyncReplyAllowed(MessageContext messageContext)
Returns true if the ReplyTo address matches one of the supported
anonymous urls.
|
static boolean |
AddressingHelper.shouldSendFaultToFaultTo(MessageContext messageContext)
If the inbound FaultTo header was invalid and caused a fault, the fault should not be
sent to it.
|
static void |
AddressingFaultsHelper.triggerActionMismatchFault(MessageContext messageContext,
String soapAction,
String wsaAction) |
static void |
AddressingFaultsHelper.triggerActionNotSupportedFault(MessageContext messageContext,
String problemAction) |
static void |
AddressingFaultsHelper.triggerDestinationUnreachableFault(MessageContext messageContext,
String address) |
static void |
AddressingFaultsHelper.triggerInvalidCardinalityFault(MessageContext messageContext,
String incorrectHeaderName) |
static void |
AddressingFaultsHelper.triggerInvalidEPRFault(MessageContext messageContext,
String incorrectHeaderName) |
static void |
AddressingFaultsHelper.triggerMessageAddressingRequiredFault(MessageContext messageContext,
String missingHeaderName) |
static void |
AddressingFaultsHelper.triggerMissingAddressInEPRFault(MessageContext messageContext,
String incorrectHeaderName) |
static void |
AddressingFaultsHelper.triggerOnlyAnonymousAddressSupportedFault(MessageContext messageContext,
String incorrectHeaderName) |
static void |
AddressingFaultsHelper.triggerOnlyNonAnonymousAddressSupportedFault(MessageContext messageContext,
String incorrectHeaderName) |
Modifier and Type | Method and Description |
---|---|
static org.apache.axiom.soap.SOAPEnvelope |
BuilderUtil.buildsoapMessage(MessageContext messageContext,
MultipleEntryHashMap requestParameterMap,
org.apache.axiom.soap.SOAPFactory soapFactory) |
static org.apache.axiom.attachments.Attachments |
BuilderUtil.createAttachments(MessageContext msgContext,
InputStream inStream,
String contentTypeString,
boolean fileCacheForAttachments,
String attachmentRepoDir,
String attachmentSizeThreshold,
int contentLength) |
protected static org.apache.axiom.attachments.Attachments |
BuilderUtil.createAttachmentsMap(MessageContext msgContext,
InputStream inStream,
String contentTypeString) |
static org.apache.axiom.om.impl.builder.StAXBuilder |
BuilderUtil.getAttachmentsBuilder(MessageContext msgContext,
InputStream inStream,
String contentTypeString,
boolean isSOAP) |
static Builder |
BuilderUtil.getBuilderFromSelector(String type,
MessageContext msgContext)
Initial work for a builder selector which selects the builder for a given message format
based on the the content type of the recieved message.
|
static boolean |
BuilderUtil.isAttachmentsCacheEnabled(MessageContext msgContext) |
org.apache.axiom.om.OMElement |
MultipartFormDataBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext) |
org.apache.axiom.om.OMElement |
DataSourceBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext msgContext) |
org.apache.axiom.om.OMElement |
SOAPBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext) |
org.apache.axiom.om.OMElement |
ApplicationXMLBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext) |
org.apache.axiom.om.OMElement |
Builder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext)
Process a message.
|
org.apache.axiom.om.OMElement |
XFormURLEncodedBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext) |
org.apache.axiom.om.OMElement |
MIMEBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext msgContext) |
org.apache.axiom.om.OMElement |
MTOMBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext) |
org.apache.axiom.om.OMElement |
SOAPBuilder.processMIMEMessage(org.apache.axiom.attachments.Attachments attachments,
String contentType,
MessageContext messageContext) |
org.apache.axiom.om.OMElement |
MIMEAwareBuilder.processMIMEMessage(org.apache.axiom.attachments.Attachments attachments,
String contentType,
MessageContext messageContext)
Process a MIME multipart message and initialize the message context.
|
org.apache.axiom.om.OMElement |
MTOMBuilder.processMIMEMessage(org.apache.axiom.attachments.Attachments attachments,
String contentType,
MessageContext messageContext) |
Modifier and Type | Method and Description |
---|---|
org.apache.axiom.om.OMElement |
UnknownContentBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext) |
Modifier and Type | Method and Description |
---|---|
MessageContext |
ThreadContextDescriptor.getOldMessageContext() |
Modifier and Type | Method and Description |
---|---|
void |
ThreadContextDescriptor.setOldMessageContext(MessageContext oldMessageContext) |
static ThreadContextDescriptor |
ThreadContextDescriptor.setThreadContext(MessageContext msgContext)
Several pieces of information need to be available to the service
implementation class.
|
Modifier and Type | Method and Description |
---|---|
abstract MessageContext |
OperationClient.getMessageContext(String messageLabel)
Return a message from the client - will return null if the requested
message is not available.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Stub.addHttpHeader(MessageContext messageContext,
String name,
String value)
add an http header with name and value to message context
|
abstract void |
OperationClient.addMessageContext(MessageContext messageContext)
Add a message context to the client for processing.
|
protected void |
OperationClient.addReferenceParameters(MessageContext msgctx) |
void |
OperationClient.complete(MessageContext msgCtxt)
To close the transport if necessary , can call this method.
|
protected void |
OperationClient.prepareMessageContext(ConfigurationContext configurationContext,
MessageContext mc)
prepareMessageContext gets a fresh new MessageContext ready to be sent.
|
protected void |
OperationClient.setMessageID(MessageContext mc)
Create a message ID for the given message context if needed.
|
Modifier and Type | Method and Description |
---|---|
void |
AxisCallback.onFault(MessageContext msgContext)
This gets called when a fault message is received.
|
void |
AxisCallback.onMessage(MessageContext msgContext)
This is called when we receive a message.
|
Modifier and Type | Method and Description |
---|---|
Handler.InvocationResponse |
RequestBlockingHandler.invoke(MessageContext msgContext) |
Modifier and Type | Method and Description |
---|---|
static void |
Replicator.replicate(MessageContext msgContext)
Replicates all serializable properties in the ConfigurationContext, ServiceGroupContext &
ServiceContext
|
Modifier and Type | Field and Description |
---|---|
static ThreadLocal<MessageContext> |
MessageContext.currentMessageContext
A place to store the current MessageContext
|
Modifier and Type | Method and Description |
---|---|
MessageContext |
ConfigurationContext.createMessageContext()
Create a MessageContext, and notify any registered ContextListener.
|
MessageContext |
MessageContext.extractCopyMessageContext()
Return a Read-Only copy of this message context
that has been extracted from the object
hierachy.
|
static MessageContext |
MessageContext.getCurrentMessageContext() |
MessageContext |
OperationContext.getMessageContext(String messageLabel)
Get the message context identified by a given label.
|
Modifier and Type | Method and Description |
---|---|
HashMap<String,MessageContext> |
OperationContext.getMessageContexts() |
Modifier and Type | Method and Description |
---|---|
void |
OperationContext.addMessageContext(MessageContext msgContext)
When a new message is added to the
MEPContext the logic
should be included remove the MEPContext from the table in the
EngineContext . |
void |
SelfManagedDataManager.deserializeSelfManagedData(ByteArrayInputStream data,
MessageContext mc)
This method is invoked when the MessageContext object is being restored.
|
void |
ConfigurationContext.fillServiceContextAndServiceGroupContext(MessageContext messageContext)
Searches for a ServiceGroupContext in the map with given id as the key.
|
ServiceGroupContext |
ConfigurationContext.getServiceGroupContextFromSoapSessionTable(String serviceGroupContextId,
MessageContext msgContext)
Retrieve the ServiceGroupContext from the SOAP session table
|
void |
OperationContext.isolateMessageContext(MessageContext mc)
Isolate the specified message context object
to prepare for serialization.
|
void |
OperationContext.restoreMessageContext(MessageContext msg)
Restore the specified MessageContext object in the
table used to hold the message contexts associated
with this operation.
|
void |
SelfManagedDataManager.restoreTransientData(MessageContext mc)
This method is invoked when the MessageContext object is being restored and
after the deserializeSelfManagedData() method.
|
ByteArrayOutputStream |
SelfManagedDataManager.serializeSelfManagedData(MessageContext mc)
This method is invoked when the MessageContext object is being saved.
|
static void |
MessageContext.setCurrentMessageContext(MessageContext ctx) |
Modifier and Type | Method and Description |
---|---|
static org.apache.axiom.soap.SOAPEnvelope |
MessageExternalizeUtils.readExternal(ObjectInput in,
MessageContext mc,
String correlationIDString)
Read the Message
|
static void |
MessageExternalizeUtils.writeExternal(ObjectOutput out,
MessageContext mc,
String correlationIDString,
org.apache.axiom.om.OMOutputFormat outputFormat)
Write out the Message
|
Modifier and Type | Method and Description |
---|---|
Data[] |
SchemaDataLocator.getData(DataRetrievalRequest request,
MessageContext msgContext) |
Data[] |
AxisDataLocatorImpl.getData(DataRetrievalRequest request,
MessageContext msgContext)
Retrieves and returns data based on the specified request.
|
Data[] |
AxisDataLocator.getData(DataRetrievalRequest request,
MessageContext msgContext)
Retrieves and returns data based on the specified request.
|
Data[] |
BaseAxisDataLocator.getData(DataRetrievalRequest request,
MessageContext msgContext)
The default Axis2 Data locator getData API
Checks data information configured in ServiceData.xml for the supported
output forms: inline, url, EndpointReference.
|
Data[] |
WSDLDataLocator.getData(DataRetrievalRequest request,
MessageContext msgContext)
getData API
Implement data retrieval logic for WSDL dialect
|
protected Data[] |
SchemaDataLocator.outputInlineForm(MessageContext msgContext,
ServiceData[] serviceData) |
protected Data[] |
BaseAxisDataLocator.outputInlineForm(MessageContext msgContext,
ServiceData[] serviceData) |
protected Data[] |
WSDLDataLocator.outputInlineForm(MessageContext msgContext,
ServiceData[] dataList) |
protected Data[] |
BaseAxisDataLocator.outputReferenceForm(MessageContext msgContext,
ServiceData[] serviceData) |
Modifier and Type | Method and Description |
---|---|
abstract void |
AxisOperation.addFaultMessageContext(MessageContext msgContext,
OperationContext opContext) |
void |
InOnlyAxisOperation.addFaultMessageContext(MessageContext msgContext,
OperationContext opContext) |
void |
OutOnlyAxisOperation.addFaultMessageContext(MessageContext msgContext,
OperationContext opContext) |
void |
TwoChannelAxisOperation.addFaultMessageContext(MessageContext msgContext,
OperationContext opContext) |
abstract void |
AxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext)
Adds a message context into an operation context.
|
void |
OutInAxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext) |
void |
InOnlyAxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext) |
void |
OutOnlyAxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext) |
void |
InOutAxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext) |
void |
AxisService.attachEnvelopeEvent(MessageContext mc)
Signal an Attach Envelope Event
|
void |
MessageContextListener.attachEnvelopeEvent(MessageContext mc) |
void |
AxisService.attachServiceContextEvent(ServiceContext sc,
MessageContext mc)
Signal an Attach ServiceContext Event
|
void |
MessageContextListener.attachServiceContextEvent(ServiceContext sc,
MessageContext mc) |
OperationContext |
AxisOperation.findForExistingOperationContext(MessageContext msgContext)
Returns as existing OperationContext related to this message if one exists.
|
OperationContext |
AxisOperation.findOperationContext(MessageContext msgContext,
ServiceContext serviceContext)
Finds an OperationContext for an incoming message.
|
Data[] |
AxisService.getData(DataRetrievalRequest request,
MessageContext msgContext)
Find a data locator from the available data locators (both configured and
default ones) to retrieve Metadata or data specified in the request.
|
static TransportInDescription |
ClientUtils.inferInTransport(AxisConfiguration ac,
Options options,
MessageContext msgCtxt) |
static TransportOutDescription |
ClientUtils.inferOutTransport(AxisConfiguration ac,
EndpointReference epr,
MessageContext msgctx) |
void |
AxisOperation.registerMessageContext(MessageContext msgContext,
OperationContext operationContext) |
void |
AxisOperation.registerOperationContext(MessageContext msgContext,
OperationContext operationContext) |
Modifier and Type | Method and Description |
---|---|
AxisOperation |
ActionBasedOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
SOAPMessageBodyBasedDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
RequestURIBasedDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
abstract AxisOperation |
AbstractOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext)
Called by Axis Engine to find the operation.
|
AxisOperation |
HTTPLocationBasedDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
RequestURIBasedOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
SOAPActionBasedDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
RelatesToBasedOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
RequestURIOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
AddressingBasedDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
SOAPMessageBodyBasedOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
abstract AxisService |
AbstractServiceDispatcher.findService(MessageContext messageContext)
Called by Axis Engine to find the service.
|
AxisService |
SOAPMessageBodyBasedDispatcher.findService(MessageContext messageContext) |
AxisService |
RequestURIBasedDispatcher.findService(MessageContext messageContext) |
AxisService |
SOAPMessageBodyBasedServiceDispatcher.findService(MessageContext messageContext) |
AxisService |
HTTPLocationBasedDispatcher.findService(MessageContext messageContext) |
AxisService |
RelatesToBasedServiceDispatcher.findService(MessageContext messageContext) |
AxisService |
SOAPActionBasedDispatcher.findService(MessageContext messageContext) |
AxisService |
RequestURIBasedServiceDispatcher.findService(MessageContext messageContext) |
AxisService |
RequestURIOperationDispatcher.findService(MessageContext messageContext) |
AxisService |
AddressingBasedDispatcher.findService(MessageContext messageContext) |
Handler.InvocationResponse |
AbstractServiceDispatcher.invoke(MessageContext msgctx) |
Handler.InvocationResponse |
AbstractOperationDispatcher.invoke(MessageContext msgctx) |
Handler.InvocationResponse |
AddressingBasedDispatcher.invoke(MessageContext msgctx) |
Modifier and Type | Method and Description |
---|---|
void |
Phase.checkPostConditions(MessageContext msgContext)
Confirm that all post-conditions of this Phase are met.
|
void |
DispatchPhase.checkPostConditions(MessageContext msgContext) |
void |
Phase.checkPreconditions(MessageContext msgContext)
Check the preconditions for a Phase.
|
abstract AxisOperation |
AbstractDispatcher.findOperation(AxisService service,
MessageContext messageContext)
Called by Axis Engine to find the operation.
|
abstract AxisService |
AbstractDispatcher.findService(MessageContext messageContext)
Called by Axis Engine to find the service.
|
void |
Phase.flowComplete(MessageContext msgContext) |
void |
Handler.flowComplete(MessageContext msgContext)
This method will be called on each registered handler that had its
invoke(...) method called during the processing of the message, once
the message processing has completed.
|
Handler.InvocationResponse |
AbstractDispatcher.invoke(MessageContext msgctx) |
Handler.InvocationResponse |
Phase.invoke(MessageContext msgctx)
Invoke all the handlers in this Phase
|
Handler.InvocationResponse |
Handler.invoke(MessageContext msgContext)
This method will be called on each registered handler when a message
needs to be processed.
|
void |
MessageReceiver.receive(MessageContext messageCtx) |
static Handler.InvocationResponse |
AxisEngine.receive(MessageContext msgContext)
This methods represents the inflow of the Axis, this could be either at the server side or the client side.
|
static Handler.InvocationResponse |
AxisEngine.resume(MessageContext msgctx)
Resume processing of a message.
|
static Handler.InvocationResponse |
AxisEngine.resumeReceive(MessageContext msgContext)
If the msgConetext is puased and try to invoke then
first invoke the phase list and after the message receiver
|
static Handler.InvocationResponse |
AxisEngine.resumeSend(MessageContext msgContext)
To resume the invocation at the send path , this is neened since it is require to call
TransportSender at the end
|
static void |
AxisEngine.resumeSendFault(MessageContext msgContext)
here we assume that it is resume from an operation level handler
|
static void |
AxisEngine.send(MessageContext msgContext)
This methods represents the outflow of the Axis, this could be either at the server side or the client side.
|
static void |
AxisEngine.sendFault(MessageContext msgContext)
Sends the SOAP Fault to another SOAP node.
|
Modifier and Type | Method and Description |
---|---|
String |
FastInfosetPOXMessageFormatter.formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction)
Plain Fast Infoset message formatter doesn't need to handle SOAP.
|
String |
FastInfosetMessageFormatter.formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction)
Fast Infoset message formatter doesn't need to handle SOAP.
|
byte[] |
FastInfosetPOXMessageFormatter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format)
Retrieves the raw bytes from the SOAP envelop.
|
byte[] |
FastInfosetMessageFormatter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format)
Retrieves the raw bytes from the SOAP envelop.
|
String |
FastInfosetPOXMessageFormatter.getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction)
Returns the content type
|
String |
FastInfosetMessageFormatter.getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction)
Returns the content type
|
URL |
FastInfosetPOXMessageFormatter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL)
Returns the target address to send the response
FIXME This is very HTTP specific.
|
URL |
FastInfosetMessageFormatter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL)
Returns the target address to send the response
FIXME This is very HTTP specific.
|
org.apache.axiom.om.OMElement |
FastInfosetBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext)
Returns a OMElement handler to the document element of the Fast Infoset message.
|
org.apache.axiom.om.OMElement |
FastInfosetPOXBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext)
Returns a OMElement handler to the document element of the Fast Infoset message.
|
void |
FastInfosetPOXMessageFormatter.writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
OutputStream outputStream,
boolean preserve)
Write the SOAP envelop to the given OutputStream.
|
void |
FastInfosetMessageFormatter.writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
OutputStream outputStream,
boolean preserve)
Write the SOAP envelop to the given OutputStream.
|
Modifier and Type | Method and Description |
---|---|
String |
MessageFormatterExAdapter.formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
String |
PlainTextFormatter.formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
String |
BinaryFormatter.formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
byte[] |
MessageFormatterExAdapter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format) |
byte[] |
PlainTextFormatter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format) |
byte[] |
BinaryFormatter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format) |
String |
MessageFormatterExAdapter.getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
String |
PlainTextFormatter.getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
String |
BinaryFormatter.getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
DataSource |
MessageFormatterExAdapter.getDataSource(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
DataSource |
MessageFormatterEx.getDataSource(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction)
Get the formatted message as a
DataSource object. |
DataSource |
PlainTextFormatter.getDataSource(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
DataSource |
BinaryFormatter.getDataSource(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
URL |
MessageFormatterExAdapter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL) |
URL |
PlainTextFormatter.getTargetAddress(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL) |
URL |
BinaryFormatter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL) |
org.apache.axiom.om.OMElement |
DataSourceMessageBuilder.processDocument(DataSource dataSource,
String contentType,
MessageContext messageContext) |
org.apache.axiom.om.OMElement |
BinaryBuilder.processDocument(DataSource dataSource,
String contentType,
MessageContext msgContext) |
org.apache.axiom.om.OMElement |
PlainTextBuilder.processDocument(DataSource dataSource,
String contentType,
MessageContext msgContext) |
org.apache.axiom.om.OMElement |
BinaryBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext msgContext) |
org.apache.axiom.om.OMElement |
TextMessageBuilderAdapter.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext) |
org.apache.axiom.om.OMElement |
PlainTextBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext msgContext) |
org.apache.axiom.om.OMElement |
TextMessageBuilderAdapter.processDocument(Reader reader,
String contentType,
MessageContext messageContext) |
org.apache.axiom.om.OMElement |
PlainTextBuilder.processDocument(Reader reader,
String contentType,
MessageContext msgContext) |
org.apache.axiom.om.OMElement |
TextMessageBuilder.processDocument(Reader reader,
String contentType,
MessageContext messageContext) |
org.apache.axiom.om.OMElement |
TextMessageBuilderAdapter.processDocument(String content,
String contentType,
MessageContext messageContext) |
org.apache.axiom.om.OMElement |
PlainTextBuilder.processDocument(String content,
String contentType,
MessageContext msgContext) |
org.apache.axiom.om.OMElement |
TextMessageBuilder.processDocument(String content,
String contentType,
MessageContext messageContext) |
void |
MessageFormatterExAdapter.writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
OutputStream outputStream,
boolean preserve) |
void |
PlainTextFormatter.writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
OutputStream outputStream,
boolean preserve) |
void |
BinaryFormatter.writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
OutputStream outputStream,
boolean preserve) |
Modifier and Type | Method and Description |
---|---|
abstract Handler.InvocationResponse |
AbstractTemplatedHandler.doInvoke(MessageContext msgCtx)
This should implement the actual handler invocation logic.
|
void |
AbstractHandler.flowComplete(MessageContext msgContext) |
Handler.InvocationResponse |
AbstractTemplatedHandler.invoke(MessageContext msgContext)
Implements the separation of the conditional check and the actual logic
|
abstract boolean |
AbstractTemplatedHandler.shouldInvoke(MessageContext msgCtx)
This method should implement the conditional check of the handler to decide whether this
particular message needs to be handled by me
|
Modifier and Type | Method and Description |
---|---|
String |
AbstractJSONMessageFormatter.formatSOAPAction(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
String soapActionString) |
byte[] |
AbstractJSONMessageFormatter.getBytes(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format)
Gives the JSON message as an array of bytes.
|
String |
AbstractJSONMessageFormatter.getContentType(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
String soapActionString) |
protected abstract AbstractJSONDataSource |
AbstractJSONOMBuilder.getDataSource(Reader jsonReader,
MessageContext messageContext) |
protected AbstractJSONDataSource |
JSONOMBuilder.getDataSource(Reader jsonReader,
MessageContext messageContext) |
protected AbstractJSONDataSource |
JSONBadgerfishOMBuilder.getDataSource(Reader jsonReader,
MessageContext messageContext) |
protected abstract XMLStreamWriter |
AbstractJSONMessageFormatter.getJSONWriter(Writer writer,
MessageContext messageContext) |
protected XMLStreamWriter |
JSONBadgerfishMessageFormatter.getJSONWriter(Writer writer,
MessageContext messageContext) |
protected XMLStreamWriter |
JSONMessageFormatter.getJSONWriter(Writer writer,
MessageContext messageContext) |
URL |
AbstractJSONMessageFormatter.getTargetAddress(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL) |
org.apache.axiom.om.OMElement |
AbstractJSONOMBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext)
gives the OMSourcedElement using the incoming JSON stream
|
void |
AbstractJSONMessageFormatter.writeTo(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
OutputStream out,
boolean preserve)
Writes the JSON message to the output stream with the correct convention.
|
Constructor and Description |
---|
JSONDataSource(Reader jsonReader,
MessageContext messageContext) |
Modifier and Type | Method and Description |
---|---|
String |
JsonFormatter.formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat omOutputFormat,
String s) |
byte[] |
JsonFormatter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat omOutputFormat) |
String |
JsonFormatter.getContentType(MessageContext outMsgCtxt,
org.apache.axiom.om.OMOutputFormat omOutputFormat,
String s) |
URL |
JsonFormatter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat omOutputFormat,
URL url) |
Handler.InvocationResponse |
JSONMessageHandler.invoke(MessageContext msgContext)
This method will be called on each registered handler when a message
needs to be processed.
|
org.apache.axiom.om.OMElement |
JsonBuilder.processDocument(InputStream inputStream,
String s,
MessageContext messageContext) |
void |
JsonFormatter.writeTo(MessageContext outMsgCtxt,
org.apache.axiom.om.OMOutputFormat omOutputFormat,
OutputStream outputStream,
boolean b) |
Modifier and Type | Method and Description |
---|---|
void |
JsonInOnlyRPCMessageReceiver.invokeBusinessLogic(MessageContext inMessage) |
void |
JsonRpcMessageReceiver.invokeBusinessLogic(MessageContext inMessage,
MessageContext outMessage) |
void |
JsonRpcMessageReceiver.invokeService(com.google.gson.stream.JsonReader jsonReader,
Object serviceObj,
String operation_name,
MessageContext outMes) |
Modifier and Type | Method and Description |
---|---|
org.apache.axiom.soap.SOAPFactory |
AbstractMessageReceiver.getSOAPFactory(MessageContext msgContext) |
protected Object |
AbstractMessageReceiver.getTheImplementationObject(MessageContext msgContext)
Retrieve the implementation object.
|
void |
ServerCallback.handleResult(MessageContext result) |
void |
RawXMLINOnlyMessageReceiver.invokeBusinessLogic(MessageContext msgContext)
Invokes the business logic invocation on the service implementation class
|
void |
AbstractInOutMessageReceiver.invokeBusinessLogic(MessageContext msgContext) |
protected abstract void |
AbstractMessageReceiver.invokeBusinessLogic(MessageContext messageCtx)
Do the actual work of the MessageReceiver.
|
void |
RawXMLINOutMessageReceiver.invokeBusinessLogic(MessageContext msgContext) |
abstract void |
AbstractInOutMessageReceiver.invokeBusinessLogic(MessageContext inMessage,
MessageContext outMessage) |
void |
RawXMLINOutMessageReceiver.invokeBusinessLogic(MessageContext msgContext,
MessageContext newmsgContext)
Invokes the bussiness logic invocation on the service implementation class
|
protected Object |
AbstractMessageReceiver.makeNewServiceObject(MessageContext msgContext)
Create a new service object.
|
void |
AbstractMessageReceiver.receive(MessageContext messageCtx) |
protected void |
AbstractMessageReceiver.replicateState(MessageContext messageContext) |
Constructor and Description |
---|
AsyncMessageReceiverWorker(MessageContext messageCtx) |
Modifier and Type | Method and Description |
---|---|
protected void |
RPCInOutAsyncMessageReceiver.invokeBusinessLogic(MessageContext messageCtx) |
void |
RPCInOnlyMessageReceiver.invokeBusinessLogic(MessageContext inMessage) |
void |
RPCMessageReceiver.invokeBusinessLogic(MessageContext inMessage,
MessageContext outMessage)
reflect and get the Java method - for each i'th param in the java method - get the first
child's i'th child -if the elem has an xsi:type attr then find the deserializer for it - if
not found, lookup deser for th i'th param (java type) - error if not found - deserialize &
save in an object array - end for
- invoke method and get the return value
- look up serializer for return value based on the value and type
- create response msg and add return value as grand child of
|
void |
RPCInOutAsyncMessageReceiver.invokeBusinessLogic(MessageContext inMessage,
MessageContext outMessage)
reflect and get the Java method - for each i'th param in the java method - get the first
child's i'th child -if the elem has an xsi:type attr then find the deserializer for it - if
not found, lookup deser for th i'th param (java type) - error if not found - deserialize &
save in an object array - end for
- invoke method and get the return value
- look up serializer for return value based on the value and type
- create response msg and add return value as grand child of
|
static Object |
RPCUtil.invokeServiceClass(AxisMessage inAxisMessage,
Method method,
Object implObject,
String messageNameSpace,
org.apache.axiom.om.OMElement methodElement,
MessageContext inMessage) |
static void |
RPCUtil.processResonseAsDocLitBare(Object resObject,
AxisService service,
Method method,
org.apache.axiom.soap.SOAPEnvelope envelope,
org.apache.axiom.soap.SOAPFactory fac,
org.apache.axiom.om.OMNamespace ns,
org.apache.axiom.om.OMElement bodyContent,
MessageContext outMessage) |
static void |
RPCUtil.processResonseAsDocLitBare(Object resObject,
AxisService service,
org.apache.axiom.soap.SOAPEnvelope envelope,
org.apache.axiom.soap.SOAPFactory fac,
org.apache.axiom.om.OMNamespace ns,
org.apache.axiom.om.OMElement bodyContent,
MessageContext outMessage) |
static void |
RPCUtil.processResponseAsDocLitWrapped(Object resObject,
AxisService service,
Method method,
org.apache.axiom.soap.SOAPEnvelope envelope,
org.apache.axiom.soap.SOAPFactory fac,
org.apache.axiom.om.OMNamespace ns,
org.apache.axiom.om.OMElement bodyContent,
MessageContext outMessage) |
Modifier and Type | Method and Description |
---|---|
protected static Object |
EJBUtil.makeNewServiceObject(MessageContext msgContext)
Return a object which implements the service.
|
protected Object |
EJBInOnlyMessageReceiver.makeNewServiceObject(MessageContext msgContext) |
protected static Object |
EJB3Util.makeNewServiceObject(MessageContext msgContext)
Return a object which implements the service.
|
protected Object |
EJB3InOnlyMessageReceiver.makeNewServiceObject(MessageContext msgContext) |
protected Object |
EJBMessageReceiver.makeNewServiceObject(MessageContext msgContext) |
protected Object |
EJB3MessageReceiver.makeNewServiceObject(MessageContext msgContext) |
protected Object |
EJBInOutAsyncMessageReceiver.makeNewServiceObject(MessageContext msgContext)
Deprecated.
|
void |
EJBInOutAsyncMessageReceiver.receive(MessageContext messageCtx)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Handler.InvocationResponse |
UnderstandAllHeadersHandler.invoke(MessageContext msgContext) |
Modifier and Type | Method and Description |
---|---|
void |
RequestResponseTransport.acknowledgeMessage(MessageContext msgContext)
Notify the transport that a message should be acknowledged at this time.
|
void |
TransportSender.cleanup(MessageContext msgContext)
Release resources associated with a given message context.
|
static org.apache.axiom.om.OMElement |
TransportUtils.createDocumentElement(String contentType,
Builder builder,
MessageContext msgContext,
InputStream inStream) |
static org.apache.axiom.om.OMElement |
TransportUtils.createDocumentElement(String contentType,
MessageContext msgContext,
InputStream inStream) |
static org.apache.axiom.soap.SOAPEnvelope |
TransportUtils.createSOAPMessage(MessageContext msgContext) |
static org.apache.axiom.soap.SOAPEnvelope |
TransportUtils.createSOAPMessage(MessageContext msgContext,
boolean detach)
This method will create a SOAPEnvelope based on the InputStream stored on
the MessageContext.
|
static org.apache.axiom.soap.SOAPEnvelope |
TransportUtils.createSOAPMessage(MessageContext msgContext,
InputStream inStream,
String contentType)
Objective of this method is to capture the SOAPEnvelope creation logic
and make it a common for all the transports and to in/out flows.
|
static org.apache.axiom.soap.SOAPEnvelope |
TransportUtils.createSOAPMessage(MessageContext msgContext,
InputStream inStream,
String contentType,
Builder builder)
Objective of this method is to capture the SOAPEnvelope creation logic
and make it a common for all the transports and to in/out flows.
|
static void |
TransportUtils.deleteAttachments(MessageContext msgContext)
Clean up cached attachment file
|
static void |
TransportUtils.detachInputStream(MessageContext msgContext)
This method can be called by components wishing to detach the DetachableInputStream
object that is present on the MessageContext.
|
static boolean |
TransportUtils.doWriteMTOM(MessageContext msgContext)
Checks whether MTOM needs to be enabled for the message represented by
the msgContext.
|
static boolean |
TransportUtils.doWriteSwA(MessageContext msgContext)
Checks whether SOAP With Attachments (SwA) needs to be enabled for the
message represented by the msgContext.
|
String |
MessageFormatter.formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
byte[] |
MessageFormatter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format) |
static String |
TransportUtils.getCharSetEncoding(MessageContext msgContext)
Utility method to query CharSetEncoding.
|
String |
MessageFormatter.getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction)
Different message formats can set their own content types
Eg: JSONFormatter can set the content type as application/json
|
static String |
TransportUtils.getContentType(String contentType,
MessageContext msgContext) |
SessionContext |
TransportListener.getSessionContext(MessageContext messageContext)
To get the sessionContext transport dependent manner.
|
URL |
MessageFormatter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL)
Some message formats may want to alter the target url.
|
static boolean |
TransportUtils.isDoingREST(MessageContext msgContext) |
static boolean |
TransportUtils.isResponseWritten(MessageContext messageContext)
This is a helper method to get the response written flag from the RequestResponseTransport
instance.
|
static void |
TransportUtils.processContentTypeForAction(String contentType,
MessageContext msgContext) |
static void |
TransportUtils.setResponseWritten(MessageContext messageContext,
boolean responseWritten)
This is a helper method to set the response written flag on the RequestResponseTransport
instance.
|
static void |
TransportUtils.writeMessage(MessageContext msgContext,
OutputStream out) |
void |
MessageFormatter.writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
OutputStream outputStream,
boolean preserve)
To support deffered writing transports as in http chunking..
|
Modifier and Type | Method and Description |
---|---|
MessageContext |
AbstractTransportListener.createMessageContext()
Create a new axis MessageContext for an incoming message through this transport
|
MessageContext |
ProtocolEndpoint.createMessageContext() |
MessageContext |
AbstractTransportSender.createResponseMessageContext(MessageContext outMsgCtx)
Create a new axis MessageContext for an incoming response message
through this transport, for the given outgoing message
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractTransportSender.cleanup(MessageContext msgContext) |
MessageContext |
AbstractTransportSender.createResponseMessageContext(MessageContext outMsgCtx)
Create a new axis MessageContext for an incoming response message
through this transport, for the given outgoing message
|
static MessageFormatter |
BaseUtils.getMessageFormatter(MessageContext msgContext)
Get the MessageFormatter for the given message.
|
static org.apache.axiom.om.OMOutputFormat |
BaseUtils.getOMOutputFormat(MessageContext msgContext)
Get the OMOutput format for the given message
|
SessionContext |
AbstractTransportListener.getSessionContext(MessageContext messageContext) |
void |
AbstractTransportListener.handleIncomingMessage(MessageContext msgCtx,
Map trpHeaders,
String soapAction,
String contentType)
Process a new incoming message through the axis engine
|
void |
AbstractTransportSender.handleIncomingMessage(MessageContext msgCtx,
Map trpHeaders,
String soapAction,
String contentType)
Process a new incoming message (Response) through the axis engine
|
void |
MetricsCollector.incrementBytesReceived(MessageContext mc,
long size) |
void |
MetricsCollector.incrementBytesSent(MessageContext mc,
long size) |
void |
MetricsCollector.incrementFaultsReceiving(int errorCode,
MessageContext mc) |
void |
MetricsCollector.incrementFaultsSending(int errorCode,
MessageContext mc) |
void |
MetricsCollector.incrementMessagesReceived(MessageContext mc) |
void |
MetricsCollector.incrementMessagesSent(MessageContext mc) |
void |
MetricsCollector.incrementTimeoutsReceiving(MessageContext mc) |
void |
MetricsCollector.incrementTimeoutsSending(MessageContext mc) |
Handler.InvocationResponse |
AbstractTransportSender.invoke(MessageContext msgContext) |
void |
MetricsCollector.notifyReceivedMessageSize(MessageContext mc,
long size) |
void |
MetricsCollector.notifySentMessageSize(MessageContext mc,
long size) |
void |
MetricsCollector.reportResponseCode(MessageContext mc,
int respCode) |
abstract void |
AbstractTransportSender.sendMessage(MessageContext msgCtx,
String targetEPR,
OutTransportInfo outTransportInfo) |
void |
SynchronousCallback.setInMessageContext(MessageContext inMessageContext) |
protected boolean |
AbstractTransportSender.waitForSynchronousResponse(MessageContext msgCtx)
Should the transport sender wait for a synchronous response to be received?
|
Constructor and Description |
---|
SynchronousCallback(MessageContext outMessageContext) |
Modifier and Type | Method and Description |
---|---|
void |
URLEndpoint.setParameters(MessageContext msgCtx) |
Modifier and Type | Field and Description |
---|---|
protected MessageContext |
AxisServlet.RestRequestProcessor.messageContext |
Modifier and Type | Method and Description |
---|---|
protected MessageContext |
AxisServlet.createMessageContext(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
This method assumes, that the created MessageContext will be used in only SOAP invocation.
|
protected MessageContext |
AxisServlet.createMessageContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean invocationType) |
MessageContext |
RESTRequestEntity.getMsgCtxt() |
Modifier and Type | Method and Description |
---|---|
void |
AxisServlet.ServletRequestResponseTransport.acknowledgeMessage(MessageContext msgContext) |
void |
CommonsHTTPTransportSender.cleanup(MessageContext msgContext) |
protected abstract void |
HTTPSender.cleanup(MessageContext msgContext,
Object httpMethod) |
String |
MultipartFormDataFormatter.formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
String |
XFormURLEncodedFormatter.formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
String |
ApplicationXMLFormatter.formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
String |
SOAPMessageFormatter.formatSOAPAction(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
String soapActionString) |
byte[] |
MultipartFormDataFormatter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format) |
byte[] |
XFormURLEncodedFormatter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format) |
byte[] |
ApplicationXMLFormatter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format) |
byte[] |
SOAPMessageFormatter.getBytes(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format) |
byte[] |
ApplicationXMLFormatter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
boolean preserve)
Get the bytes for this message
|
String |
MultipartFormDataFormatter.getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction)
Different message formats can set their own content types
Eg: JSONFormatter can set the content type as application/json
|
String |
XFormURLEncodedFormatter.getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
String |
ApplicationXMLFormatter.getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
String |
SOAPMessageFormatter.getContentType(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
String soapActionString) |
SessionContext |
SimpleHTTPServer.getSessionContext(MessageContext messageContext) |
SessionContext |
AxisServletListener.getSessionContext(MessageContext messageContext) |
URL |
MultipartFormDataFormatter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL)
Some message formats may want to alter the target url.
|
URL |
XFormURLEncodedFormatter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL) |
URL |
ApplicationXMLFormatter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL) |
URL |
SOAPMessageFormatter.getTargetAddress(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL) |
protected void |
AxisServlet.handleFault(MessageContext msgContext,
OutputStream out,
AxisFault e) |
static InputStream |
HTTPTransportUtils.handleGZip(MessageContext msgContext,
InputStream in) |
protected abstract void |
HTTPSender.handleResponse(MessageContext msgContext,
Object httpMethodBase)
Used to handle the HTTP Response
|
static int |
HTTPTransportUtils.initializeMessageContext(MessageContext msgContext,
String soapActionHeader,
String requestURI,
String contentType) |
Handler.InvocationResponse |
CommonsHTTPTransportSender.invoke(MessageContext msgContext) |
static boolean |
HTTPTransportUtils.processHTTPGetRequest(MessageContext msgContext,
OutputStream out,
String soapAction,
String requestURI,
ConfigurationContext configurationContext,
Map requestParameters)
Deprecated.
use RESTUtil.processURLRequest(MessageContext msgContext, OutputStream out, String contentType) instead
|
static Handler.InvocationResponse |
HTTPTransportUtils.processHTTPPostRequest(MessageContext msgContext,
InputStream in,
OutputStream out,
String contentType,
Builder builder,
String soapActionHeader,
String requestURI) |
static Handler.InvocationResponse |
HTTPTransportUtils.processHTTPPostRequest(MessageContext msgContext,
InputStream in,
OutputStream out,
String contentType,
String soapActionHeader,
String requestURI) |
abstract void |
AbstractHTTPSender.send(MessageContext msgContext,
URL url,
String soapActionString) |
void |
HTTPSender.send(MessageContext msgContext,
URL url,
String soapActionString) |
protected abstract void |
HTTPSender.sendViaDelete(MessageContext msgContext,
URL url,
String soapActiionString)
Used to send a request via HTTP Delete Method
|
protected abstract void |
HTTPSender.sendViaGet(MessageContext msgContext,
URL url,
String soapActiionString)
Used to send a request via HTTP Get method
|
protected abstract void |
HTTPSender.sendViaPost(MessageContext msgContext,
URL url,
String soapActionString)
Used to send a request via HTTP Post Method
|
protected abstract void |
HTTPSender.sendViaPut(MessageContext msgContext,
URL url,
String soapActionString)
Used to send a request via HTTP Put Method
|
void |
HTTPWorker.service(AxisHttpRequest request,
AxisHttpResponse response,
MessageContext msgContext) |
void |
RESTRequestEntity.setMsgCtxt(MessageContext msgCtxt) |
void |
MultipartFormDataFormatter.writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
OutputStream outputStream,
boolean preserve)
To support deffered writing transports as in http chunking..
|
void |
XFormURLEncodedFormatter.writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
OutputStream outputStream,
boolean preserve) |
void |
ApplicationXMLFormatter.writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
OutputStream outputStream,
boolean preserve) |
void |
SOAPMessageFormatter.writeTo(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
OutputStream out,
boolean preserve) |
Constructor and Description |
---|
AxisRequestEntity(MessageFormatter messageFormatter,
MessageContext msgContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction,
boolean chunked,
boolean isAllowedRetry)
Method calls to this request entity are delegated to the following Axis2
message formatter object.
|
RESTRequestEntity(org.apache.axiom.om.OMElement element,
boolean chunked,
MessageContext msgCtxt,
String charSetEncoding,
String soapActionString,
org.apache.axiom.om.OMOutputFormat format) |
Modifier and Type | Method and Description |
---|---|
void |
HTTPSenderImpl.addCustomHeaders(org.apache.commons.httpclient.HttpMethod method,
MessageContext msgContext) |
void |
HTTPClient3TransportSender.cleanup(MessageContext msgContext) |
protected void |
HTTPSenderImpl.cleanup(MessageContext msgContext,
Object httpMmethod) |
static void |
HTTPProxyConfigurator.configure(MessageContext messageContext,
org.apache.commons.httpclient.HttpClient httpClient,
org.apache.commons.httpclient.HostConfiguration config)
Configure HTTP Proxy settings of commons-httpclient HostConfiguration.
|
static void |
HTTPProxcyConfigurator.configure(MessageContext messageContext,
org.apache.commons.httpclient.HttpClient httpClient,
org.apache.commons.httpclient.HostConfiguration config)
Deprecated.
Configure HTTP Proxy settings of commons-httpclient HostConfiguration.
|
protected void |
HTTPSenderImpl.executeMethod(org.apache.commons.httpclient.HttpClient httpClient,
MessageContext msgContext,
URL url,
org.apache.commons.httpclient.HttpMethod method) |
protected org.apache.commons.httpclient.HostConfiguration |
HTTPSenderImpl.getHostConfiguration(org.apache.commons.httpclient.HttpClient client,
MessageContext msgCtx,
URL targetURL)
getting host configuration to support standard http/s, proxy and NTLM
support
|
protected org.apache.commons.httpclient.HttpClient |
HTTPSenderImpl.getHttpClient(MessageContext msgContext) |
protected void |
HTTPSenderImpl.handleResponse(MessageContext msgContext,
Object httpMethodBase)
Used to handle the HTTP Response
|
protected void |
HTTPSenderImpl.initializeTimeouts(MessageContext msgContext,
org.apache.commons.httpclient.HttpClient httpClient)
This is used to get the dynamically set time out values from the message
context.
|
protected boolean |
HTTPSenderImpl.isAuthenticationEnabled(MessageContext msgCtx) |
static boolean |
HTTPProxyConfigurator.isProxyEnabled(MessageContext messageContext,
URL targetURL)
Check whether http proxy is configured or active.
|
static boolean |
HTTPProxcyConfigurator.isProxyEnabled(MessageContext messageContext,
URL targetURL)
Deprecated.
Check whether http proxy is configured or active.
|
protected void |
HTTPSenderImpl.obtainHTTPHeaderInformation(Object httpMethodBase,
MessageContext msgContext)
Collect the HTTP header information and set them in the message context
|
protected MessageFormatter |
HTTPSenderImpl.populateCommonProperties(MessageContext msgContext,
URL url,
org.apache.commons.httpclient.HttpMethodBase httpMethod,
org.apache.commons.httpclient.HttpClient httpClient,
String soapActionString)
Method used to copy all the common properties
|
protected void |
HTTPSenderImpl.processResponse(org.apache.commons.httpclient.HttpMethodBase httpMethod,
MessageContext msgContext) |
protected void |
HTTPSenderImpl.sendViaDelete(MessageContext msgContext,
URL url,
String soapActiionString)
Used to send a request via HTTP Delete Method
|
protected void |
HTTPSenderImpl.sendViaGet(MessageContext msgContext,
URL url,
String soapActiionString)
Used to send a request via HTTP Get method
|
protected void |
HTTPSenderImpl.sendViaPost(MessageContext msgContext,
URL url,
String soapActionString)
Used to send a request via HTTP Post Method
|
protected void |
HTTPSenderImpl.sendViaPut(MessageContext msgContext,
URL url,
String soapActionString)
Used to send a request via HTTP Put Method
|
protected void |
HTTPSenderImpl.setAuthenticationInfo(org.apache.commons.httpclient.HttpClient agent,
MessageContext msgCtx,
org.apache.commons.httpclient.HostConfiguration config) |
protected void |
HTTPSenderImpl.setTimeouts(MessageContext msgContext,
org.apache.commons.httpclient.HttpMethod httpMethod)
This is used to get the dynamically set time out values from the message
context.
|
Constructor and Description |
---|
AxisRequestEntityImpl(MessageFormatter messageFormatter,
MessageContext msgContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction,
boolean chunked,
boolean isAllowedRetry)
Method calls to this request entity are delegated to the following Axis2
message formatter object.
|
RESTRequestEntityImpl(org.apache.axiom.om.OMElement element,
boolean chunked,
MessageContext msgCtxt,
String charSetEncoding,
String soapActionString,
org.apache.axiom.om.OMOutputFormat format) |
Modifier and Type | Method and Description |
---|---|
void |
HTTPSenderImpl.addCustomHeaders(org.apache.http.client.methods.HttpRequestBase method,
MessageContext msgContext) |
void |
HTTPClient4TransportSender.cleanup(MessageContext msgContext) |
protected void |
HTTPSenderImpl.cleanup(MessageContext msgContext,
Object httpResponse) |
static void |
HTTPProxyConfigurator.configure(MessageContext messageContext,
org.apache.http.impl.client.AbstractHttpClient httpClient)
Configure HTTP Proxy settings of commons-httpclient HostConfiguration.
|
protected org.apache.http.HttpResponse |
HTTPSenderImpl.executeMethod(org.apache.http.impl.client.AbstractHttpClient httpClient,
MessageContext msgContext,
URL url,
org.apache.http.client.methods.HttpRequestBase method) |
protected org.apache.http.HttpHost |
HTTPSenderImpl.getHostConfiguration(org.apache.http.impl.client.AbstractHttpClient client,
MessageContext msgCtx,
URL targetURL)
getting host configuration to support standard http/s, proxy and NTLM
support
|
protected org.apache.http.impl.client.AbstractHttpClient |
HTTPSenderImpl.getHttpClient(MessageContext msgContext) |
protected void |
HTTPSenderImpl.handleResponse(MessageContext msgContext,
Object httpResponse)
Used to handle the HTTP Response
|
protected void |
HTTPSenderImpl.initializeTimeouts(MessageContext msgContext,
org.apache.http.impl.client.AbstractHttpClient httpClient)
This is used to get the dynamically set time out values from the message
context.
|
protected boolean |
HTTPSenderImpl.isAuthenticationEnabled(MessageContext msgCtx) |
static boolean |
HTTPProxyConfigurator.isProxyEnabled(MessageContext messageContext,
URL targetURL)
Check whether http proxy is configured or active.
|
protected void |
HTTPSenderImpl.obtainHTTPHeaderInformation(Object httpResponse,
MessageContext msgContext)
Collect the HTTP header information and set them in the message context
|
protected MessageFormatter |
HTTPSenderImpl.populateCommonProperties(MessageContext msgContext,
URL url,
org.apache.http.client.methods.HttpRequestBase httpMethod,
org.apache.http.impl.client.AbstractHttpClient httpClient,
String soapActionString)
Method used to copy all the common properties
|
protected void |
HTTPSenderImpl.processResponse(org.apache.http.HttpResponse response,
MessageContext msgContext) |
protected void |
HTTPSenderImpl.sendViaDelete(MessageContext msgContext,
URL url,
String soapActionString)
Used to send a request via HTTP Delete Method
|
protected void |
HTTPSenderImpl.sendViaGet(MessageContext msgContext,
URL url,
String soapActionString)
Used to send a request via HTTP Get method
|
protected void |
HTTPSenderImpl.sendViaPost(MessageContext msgContext,
URL url,
String soapActionString)
Used to send a request via HTTP Post Method
|
protected void |
HTTPSenderImpl.sendViaPut(MessageContext msgContext,
URL url,
String soapActionString)
Used to send a request via HTTP Put Method
|
protected void |
HTTPSenderImpl.setAuthenticationInfo(org.apache.http.impl.client.AbstractHttpClient agent,
MessageContext msgCtx) |
protected void |
HTTPSenderImpl.setTimeouts(MessageContext msgContext,
org.apache.http.client.methods.HttpRequestBase httpMethod)
This is used to get the dynamically set time out values from the message
context.
|
Constructor and Description |
---|
AxisRequestEntityImpl(MessageFormatter messageFormatter,
MessageContext msgContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction,
boolean chunked,
boolean isAllowedRetry)
Method calls to this request entity are delegated to the following Axis2
message formatter object.
|
RESTRequestEntityImpl(org.apache.axiom.om.OMElement element,
boolean chunked,
MessageContext msgCtxt,
String charSetEncoding,
String soapActionString,
org.apache.axiom.om.OMOutputFormat format) |
Modifier and Type | Method and Description |
---|---|
protected void |
AxisHttpService.doService(AxisHttpRequest request,
AxisHttpResponse response,
org.apache.http.protocol.HttpContext context,
MessageContext msgContext) |
void |
Worker.service(AxisHttpRequest request,
AxisHttpResponse response,
MessageContext msgContext) |
Modifier and Type | Method and Description |
---|---|
static URL |
URLTemplatingUtil.appendQueryParameters(MessageContext messageContext,
URL url)
Appends Query parameters to the URL
|
static void |
HTTPProxyConfigurationUtil.configure(MessageContext messageContext,
org.apache.commons.httpclient.HttpClient httpClient,
org.apache.commons.httpclient.HostConfiguration config)
Deprecated.
Configure HTTP Proxy settings of commons-httpclient HostConfiguration.
|
static URL |
URLTemplatingUtil.getTemplatedURL(URL targetURL,
MessageContext messageContext,
boolean detach)
Returns the templated URL given the original URL
|
static boolean |
HTTPProxyConfigurationUtil.isProxyEnabled(MessageContext messageContext,
URL targetURL)
Deprecated.
Check whether http proxy is configured or active.
|
static Handler.InvocationResponse |
RESTUtil.processURLRequest(MessageContext msgContext,
OutputStream out,
String contentType) |
static Handler.InvocationResponse |
RESTUtil.processURLRequest(MessageContext msgContext,
OutputStream out,
String contentType,
Builder builder) |
static Handler.InvocationResponse |
RESTUtil.processXMLRequest(MessageContext msgContext,
InputStream in,
OutputStream out,
String contentType) |
static Handler.InvocationResponse |
RESTUtil.processXMLRequest(MessageContext msgContext,
InputStream in,
OutputStream out,
String contentType,
Builder builder) |
Modifier and Type | Method and Description |
---|---|
void |
JavaTransportSender.cleanup(MessageContext msgContext) |
Handler.InvocationResponse |
JavaTransportSender.invoke(MessageContext msgContext) |
Modifier and Type | Method and Description |
---|---|
void |
LocalResponder.cleanup(MessageContext msgContext) |
void |
LocalTransportSender.cleanup(MessageContext msgContext) |
void |
LocalTransportSender.finalizeSendWithToAddress(MessageContext msgContext,
ByteArrayOutputStream out) |
Handler.InvocationResponse |
LocalResponder.invoke(MessageContext msgContext)
Method invoke
|
Handler.InvocationResponse |
LocalTransportSender.invoke(MessageContext msgContext)
Method invoke
|
void |
LocalTransportReceiver.processMessage(MessageContext inMessageContext,
InputStream in,
OutputStream response) |
Modifier and Type | Method and Description |
---|---|
void |
MailRequestResponseTransport.acknowledgeMessage(MessageContext messageContext) |
void |
MailTransportSender.sendMessage(MessageContext msgCtx,
String targetAddress,
OutTransportInfo outTransportInfo)
Send the given message over the Mail transport
|
Modifier and Type | Method and Description |
---|---|
void |
TCPTransportSender.cleanup(MessageContext msgContext) |
void |
TCPTransportSender.sendMessage(MessageContext msgContext,
String targetEPR,
OutTransportInfo outTransportInfo) |
Modifier and Type | Method and Description |
---|---|
void |
UDPSender.sendMessage(MessageContext msgContext,
String targetEPR,
OutTransportInfo outTransportInfo) |
Modifier and Type | Method and Description |
---|---|
static MessageContext |
MessageContextBuilder.createFaultMessageContext(MessageContext processingContext,
Throwable e)
This method is called to handle any error that occurs at inflow or outflow.
|
static MessageContext |
MessageContextBuilder.createOutMessageContext(MessageContext inMessageContext)
Creates a MessageContext for use with a non-fault response based on an request MessageContext
|
Modifier and Type | Method and Description |
---|---|
static String |
WSDL20Util.applyURITemplating(MessageContext messageContext,
String rawURLString,
boolean detach)
This method is used to resolve httplocation property.
|
void |
ThreadContextMigrator.cleanupContext(MessageContext messageContext)
This method will be invoked when the processing of the message is
guaranteed to be on the thread of execution that will be used in user
space, after all processing has completed (i.e.
|
void |
ThreadContextMigrator.cleanupThread(MessageContext messageContext)
This method will be invoked when the processing of the message is
guaranteed to still be on the thread of execution that was used in user
space, after all processing has completed (i.e.
|
static MessageContext |
MessageContextBuilder.createFaultMessageContext(MessageContext processingContext,
Throwable e)
This method is called to handle any error that occurs at inflow or outflow.
|
static MessageContext |
MessageContextBuilder.createOutMessageContext(MessageContext inMessageContext)
Creates a MessageContext for use with a non-fault response based on an request MessageContext
|
static org.apache.axiom.om.impl.builder.StAXBuilder |
MessageProcessorSelector.getAttachmentBuilder(MessageContext msgContext,
org.apache.axiom.attachments.Attachments attachments,
XMLStreamReader streamReader,
String soapEnvelopeNamespaceURI,
boolean isSOAP) |
static AxisFault |
Utils.getInboundFaultFromMessageContext(MessageContext messageContext)
Get an AxisFault object to represent the SOAPFault in the SOAPEnvelope attached
to the provided MessageContext.
|
static Builder |
MessageProcessorSelector.getMessageBuilder(String type,
MessageContext msgContext)
Initial work for a builder selector which selects the builder for a given message format
based on the the content type of the recieved message.
|
static MessageFormatter |
MessageProcessorSelector.getMessageFormatter(MessageContext msgContext)
Initial work for a builder selector which selects the builder for a given message format based on the the content type of the recieved message.
|
static int |
Utils.getMtomThreshold(MessageContext msgCtxt) |
static boolean |
Utils.isClientThreadNonBlockingPropertySet(MessageContext messageContext)
this is to make is backward compatible.
|
void |
ThreadContextMigrator.migrateContextToThread(MessageContext messageContext)
This method will be invoked when the processing of the message is
guaranteed to be on the thread of execution that will be used in
user space.
|
void |
ThreadContextMigrator.migrateThreadToContext(MessageContext messageContext)
This method will be invoked when the processing of the message is
guaranteed to still be on the thread of execution that was used in
user space.
|
static void |
ThreadContextMigratorUtil.performContextCleanup(String threadContextMigratorListID,
MessageContext msgContext)
Activate any registered ThreadContextMigrators to remove information from
the context if necessary.
|
static void |
ThreadContextMigratorUtil.performMigrationToContext(String threadContextMigratorListID,
MessageContext msgContext)
Activate any registered ThreadContextMigrators to move info from the
thread of execution into the context.
|
static void |
ThreadContextMigratorUtil.performMigrationToThread(String threadContextMigratorListID,
MessageContext msgContext)
Activate any registered ThreadContextMigrators to move context info
to the thread of execution.
|
static void |
ThreadContextMigratorUtil.performThreadCleanup(String threadContextMigratorListID,
MessageContext msgContext)
Activate any registered ThreadContextMigrators to remove information
from the thread of execution if necessary.
|
void |
CallbackReceiver.receive(MessageContext msgContext) |
void |
TargetResolver.resolveTarget(MessageContext messageContext)
resolveTarget examines the MessageContext and updates the MessageContext
in order to resolve the target.
|
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.