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 |
MIMEBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext msgContext) |
org.apache.axiom.om.OMElement |
DataSourceBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext msgContext) |
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 |
MTOMBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext) |
org.apache.axiom.om.OMElement |
SOAPBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext) |
org.apache.axiom.om.OMElement |
MultipartFormDataBuilder.processDocument(InputStream inputStream,
String contentType,
MessageContext messageContext) |
org.apache.axiom.om.OMElement |
ApplicationXMLBuilder.processDocument(InputStream inputStream,
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 |
---|---|
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 |
---|---|
MessageContext |
AsyncResult.getResponseMessageContext()
Deprecated.
Get the complete message context for the response.
|
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.
|
Constructor and Description |
---|
AsyncResult(MessageContext result)
Deprecated.
Constructor.
|
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[] |
WSDLDataLocator.getData(DataRetrievalRequest request,
MessageContext msgContext)
getData API
Implement data retrieval logic for WSDL dialect
|
Data[] |
AxisDataLocator.getData(DataRetrievalRequest request,
MessageContext msgContext)
Retrieves and returns data based on the specified request.
|
Data[] |
SchemaDataLocator.getData(DataRetrievalRequest request,
MessageContext msgContext) |
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[] |
AxisDataLocatorImpl.getData(DataRetrievalRequest request,
MessageContext msgContext)
Retrieves and returns data based on the specified request.
|
protected Data[] |
WSDLDataLocator.outputInlineForm(MessageContext msgContext,
ServiceData[] dataList) |
protected Data[] |
SchemaDataLocator.outputInlineForm(MessageContext msgContext,
ServiceData[] serviceData) |
protected Data[] |
BaseAxisDataLocator.outputInlineForm(MessageContext msgContext,
ServiceData[] serviceData) |
protected Data[] |
BaseAxisDataLocator.outputReferenceForm(MessageContext msgContext,
ServiceData[] serviceData) |
Modifier and Type | Method and Description |
---|---|
void |
OutOnlyAxisOperation.addFaultMessageContext(MessageContext msgContext,
OperationContext opContext) |
void |
InOnlyAxisOperation.addFaultMessageContext(MessageContext msgContext,
OperationContext opContext) |
void |
TwoChannelAxisOperation.addFaultMessageContext(MessageContext msgContext,
OperationContext opContext) |
abstract void |
AxisOperation.addFaultMessageContext(MessageContext msgContext,
OperationContext opContext) |
void |
OutOnlyAxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext) |
void |
InOnlyAxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext) |
void |
OutInAxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext) |
void |
InOutAxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext) |
abstract void |
AxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext)
Adds a message context into an operation context.
|
void |
MessageContextListener.attachEnvelopeEvent(MessageContext mc) |
void |
AxisService.attachEnvelopeEvent(MessageContext mc)
Signal an Attach Envelope Event
|
void |
MessageContextListener.attachServiceContextEvent(ServiceContext sc,
MessageContext mc) |
void |
AxisService.attachServiceContextEvent(ServiceContext sc,
MessageContext mc)
Signal an Attach ServiceContext Event
|
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 |
RelatesToBasedOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
AddressingBasedDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
SOAPActionBasedDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
HTTPLocationBasedDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
RequestURIOperationDispatcher.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 |
SOAPMessageBodyBasedDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
SOAPMessageBodyBasedOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
RequestURIBasedOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisOperation |
ActionBasedOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext) |
AxisService |
SOAPMessageBodyBasedServiceDispatcher.findService(MessageContext messageContext) |
AxisService |
AddressingBasedDispatcher.findService(MessageContext messageContext) |
AxisService |
SOAPActionBasedDispatcher.findService(MessageContext messageContext) |
AxisService |
HTTPLocationBasedDispatcher.findService(MessageContext messageContext) |
AxisService |
RequestURIOperationDispatcher.findService(MessageContext messageContext) |
AxisService |
RequestURIBasedDispatcher.findService(MessageContext messageContext) |
AxisService |
RequestURIBasedServiceDispatcher.findService(MessageContext messageContext) |
AxisService |
RelatesToBasedServiceDispatcher.findService(MessageContext messageContext) |
AxisService |
SOAPMessageBodyBasedDispatcher.findService(MessageContext messageContext) |
abstract AxisService |
AbstractServiceDispatcher.findService(MessageContext messageContext)
Called by Axis Engine to find the service.
|
Handler.InvocationResponse |
AddressingBasedDispatcher.invoke(MessageContext msgctx) |
Handler.InvocationResponse |
AbstractOperationDispatcher.invoke(MessageContext msgctx) |
Handler.InvocationResponse |
AbstractServiceDispatcher.invoke(MessageContext msgctx) |
Modifier and Type | Method and Description |
---|---|
static MessageContext |
AxisEngine.createFaultMessageContext(MessageContext processingContext,
Throwable e)
Deprecated.
(post 1.1 branch)
|
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.
|
static MessageContext |
AxisEngine.createFaultMessageContext(MessageContext processingContext,
Throwable e)
Deprecated.
(post 1.1 branch)
|
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 |
Phase.invoke(MessageContext msgctx)
Invoke all the handlers in this Phase
|
Handler.InvocationResponse |
InstanceDispatcher.invoke(MessageContext msgContext)
Deprecated.
This doesn't do anything, as the functionality is now in DispatchPhase.checkPostConditions()
The class remains for backwards compatibility of axis2.xml files, but it should go away after
1.3.
|
Handler.InvocationResponse |
AbstractDispatcher.invoke(MessageContext msgctx) |
Handler.InvocationResponse |
Handler.invoke(MessageContext msgContext)
This method will be called on each registered handler when a message
needs to be processed.
|
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.
|
void |
MessageReceiver.receive(MessageContext messageCtx) |
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 |
---|---|
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 | Field and Description |
---|---|
MessageContext |
AbstractMessageReceiver.ThreadContextDescriptor.oldMessageContext |
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) |
protected abstract void |
AbstractMessageReceiver.invokeBusinessLogic(MessageContext messageCtx)
Do the actual work of the MessageReceiver.
|
void |
AbstractInOutMessageReceiver.invokeBusinessLogic(MessageContext msgContext) |
void |
AbstractInOutSyncMessageReceiver.invokeBusinessLogic(MessageContext msgContext)
Deprecated.
|
void |
RawXMLINOnlyMessageReceiver.invokeBusinessLogic(MessageContext msgContext)
Invokes the business logic invocation on the service implementation class
|
void |
RawXMLINOutMessageReceiver.invokeBusinessLogic(MessageContext msgContext,
MessageContext newmsgContext)
Invokes the bussiness logic invocation on the service implementation class
|
abstract void |
AbstractInOutMessageReceiver.invokeBusinessLogic(MessageContext inMessage,
MessageContext outMessage) |
abstract void |
AbstractInOutSyncMessageReceiver.invokeBusinessLogic(MessageContext inMessage,
MessageContext outMessage)
Deprecated.
|
protected Object |
AbstractMessageReceiver.makeNewServiceObject(MessageContext msgContext)
Create a new service object.
|
void |
AbstractMessageReceiver.receive(MessageContext messageCtx) |
void |
AbstractInOutAsyncMessageReceiver.receive(MessageContext messageCtx)
Deprecated.
|
void |
RawXMLINOutAsyncMessageReceiver.receive(MessageContext messageCtx)
Deprecated.
|
protected void |
AbstractMessageReceiver.replicateState(MessageContext messageContext) |
protected AbstractMessageReceiver.ThreadContextDescriptor |
AbstractMessageReceiver.setThreadContext(MessageContext msgContext)
Several pieces of information need to be available to the service
implementation class.
|
Constructor and Description |
---|
AbstractMessageReceiver.AsyncMessageReceiverWorker(MessageContext messageCtx) |
Modifier and Type | Method and Description |
---|---|
void |
RPCInOnlyMessageReceiver.invokeBusinessLogic(MessageContext inMessage) |
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
|
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
|
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,
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 Object |
EJBInOutAsyncMessageReceiver.makeNewServiceObject(MessageContext msgContext)
Deprecated.
|
protected Object |
EJBInOnlyMessageReceiver.makeNewServiceObject(MessageContext msgContext) |
protected Object |
EJBMessageReceiver.makeNewServiceObject(MessageContext msgContext) |
protected static Object |
EJBUtil.makeNewServiceObject(MessageContext msgContext)
Return a object which implements the service.
|
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,
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 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) |
static MessageFormatter |
TransportUtils.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.
|
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 |
---|---|
String |
MultipartFormDataFormatter.formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
String |
SOAPMessageFormatter.formatSOAPAction(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
String soapActionString) |
String |
ApplicationXMLFormatter.formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
String |
XFormURLEncodedFormatter.formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
byte[] |
MultipartFormDataFormatter.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) |
byte[] |
XFormURLEncodedFormatter.getBytes(MessageContext messageContext,
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 |
SOAPMessageFormatter.getContentType(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
String soapActionString) |
String |
ApplicationXMLFormatter.getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
String |
XFormURLEncodedFormatter.getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
String soapAction) |
URL |
MultipartFormDataFormatter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL)
Some message formats may want to alter the target url.
|
URL |
SOAPMessageFormatter.getTargetAddress(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL) |
URL |
ApplicationXMLFormatter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL) |
URL |
XFormURLEncodedFormatter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
URL targetURL) |
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 |
SOAPMessageFormatter.writeTo(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
OutputStream out,
boolean preserve) |
void |
ApplicationXMLFormatter.writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
OutputStream outputStream,
boolean preserve) |
void |
XFormURLEncodedFormatter.writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
OutputStream outputStream,
boolean preserve) |
Modifier and Type | Method and Description |
---|---|
static URL |
URLTemplatingUtil.appendQueryParameters(MessageContext messageContext,
URL url)
Appends Query parameters to the URL
|
static URL |
URLTemplatingUtil.getTemplatedURL(URL targetURL,
MessageContext messageContext,
boolean detach)
Returns the templated URL given the original URL
|
Modifier and Type | Method and Description |
---|---|
void |
JavaTransportSender.cleanup(MessageContext msgContext) |
Handler.InvocationResponse |
JavaTransportSender.invoke(MessageContext msgContext) |
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 |
Utils.createOutMessageContext(MessageContext inMessageContext)
Deprecated.
(post1.1branch)
|
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 |
Utils.createOutMessageContext(MessageContext inMessageContext)
Deprecated.
(post1.1branch)
|
static MessageContext |
MessageContextBuilder.createOutMessageContext(MessageContext inMessageContext)
Creates a MessageContext for use with a non-fault response based on an request MessageContext
|
static AxisFault |
Utils.getInboundFaultFromMessageContext(MessageContext messageContext)
Get an AxisFault object to represent the SOAPFault in the SOAPEnvelope attached
to the provided MessageContext.
|
static int |
Utils.getMtomThreshold(MessageContext msgCtxt) |
static boolean |
Utils.isClientThreadNonBlockingPropertySet(MessageContext messageContext)
this is to make is backward compatible.
|
static boolean |
Utils.isExplicitlyTrue(MessageContext messageContext,
String propertyName)
Deprecated.
please use MessageContext.isTrue(propertyName) instead
|
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–2013 The Apache Software Foundation. All rights reserved.