Uses of Class
org.apache.axis2.context.MessageContext
-
-
Uses of MessageContext in org.apache.axis2
Methods in org.apache.axis2 that return MessageContext Modifier and Type Method Description MessageContext
AxisFault. getFaultMessageContext()
Returns the MessageContext representation of the fault if the fault was created by providing that.Constructors in org.apache.axis2 with parameters of type MessageContext Constructor Description 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)
AxisFault(SOAPFault fault, MessageContext faultCtx)
-
Uses of MessageContext in org.apache.axis2.addressing
Methods in org.apache.axis2.addressing with parameters of type MessageContext Modifier and Type Method Description static OMElement
AddressingFaultsHelper. getDetailElementForAddressingFault(MessageContext messageContext, 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)
-
Uses of MessageContext in org.apache.axis2.builder
Methods in org.apache.axis2.builder with parameters of type MessageContext Modifier and Type Method Description static SOAPEnvelope
BuilderUtil. buildsoapMessage(MessageContext messageContext, MultipleEntryHashMap requestParameterMap, SOAPFactory soapFactory)
static Attachments
BuilderUtil. createAttachments(MessageContext msgContext, InputStream inStream, String contentTypeString, boolean fileCacheForAttachments, String attachmentRepoDir, String attachmentSizeThreshold, int contentLength)
static Attachments
BuilderUtil. createAttachmentsMap(MessageContext msgContext, InputStream inStream, String contentTypeString)
static Builder
BuilderUtil. getBuilderFromSelector(String type, MessageContext msgContext)
Deprecated.static boolean
BuilderUtil. isAttachmentsCacheEnabled(MessageContext msgContext)
OMElement
ApplicationXMLBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)
OMElement
Builder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)
Process a message.OMElement
DataSourceBuilder. processDocument(InputStream inputStream, String contentType, MessageContext msgContext)
OMElement
MIMEBuilder. processDocument(InputStream inputStream, String contentType, MessageContext msgContext)
OMElement
MTOMBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)
OMElement
MultipartFormDataBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)
OMElement
SOAPBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)
OMElement
XFormURLEncodedBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)
OMElement
MIMEAwareBuilder. processMIMEMessage(Attachments attachments, String contentType, MessageContext messageContext)
Process a MIME multipart message and initialize the message context.OMElement
MTOMBuilder. processMIMEMessage(Attachments attachments, String contentType, MessageContext messageContext)
OMElement
SOAPBuilder. processMIMEMessage(Attachments attachments, String contentType, MessageContext messageContext)
-
Uses of MessageContext in org.apache.axis2.builder.unknowncontent
Methods in org.apache.axis2.builder.unknowncontent with parameters of type MessageContext Modifier and Type Method Description OMElement
UnknownContentBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)
-
Uses of MessageContext in org.apache.axis2.classloader
Methods in org.apache.axis2.classloader that return MessageContext Modifier and Type Method Description MessageContext
ThreadContextDescriptor. getOldMessageContext()
Methods in org.apache.axis2.classloader with parameters of type MessageContext Modifier and Type Method 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. -
Uses of MessageContext in org.apache.axis2.client
Methods in org.apache.axis2.client that return MessageContext Modifier and Type Method Description abstract MessageContext
OperationClient. getMessageContext(String messageLabel)
Return a message from the client - will return null if the requested message is not available.Methods in org.apache.axis2.client with parameters of type MessageContext Modifier and Type Method Description protected void
Stub. addHttpHeader(MessageContext messageContext, String name, String value)
add an http header with name and value to message contextabstract 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. -
Uses of MessageContext in org.apache.axis2.client.async
Methods in org.apache.axis2.client.async with parameters of type MessageContext Modifier and Type Method 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. -
Uses of MessageContext in org.apache.axis2.clustering
Methods in org.apache.axis2.clustering with parameters of type MessageContext Modifier and Type Method Description Handler.InvocationResponse
RequestBlockingHandler. invoke(MessageContext msgContext)
-
Uses of MessageContext in org.apache.axis2.clustering.state
Methods in org.apache.axis2.clustering.state with parameters of type MessageContext Modifier and Type Method Description static void
Replicator. replicate(MessageContext msgContext)
Replicates all serializable properties in the ConfigurationContext, ServiceGroupContext & ServiceContext -
Uses of MessageContext in org.apache.axis2.context
Fields in org.apache.axis2.context with type parameters of type MessageContext Modifier and Type Field Description static ThreadLocal<MessageContext>
MessageContext. currentMessageContext
A place to store the current MessageContextMethods in org.apache.axis2.context that return MessageContext Modifier and Type Method 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.Methods in org.apache.axis2.context that return types with arguments of type MessageContext Modifier and Type Method Description HashMap<String,MessageContext>
OperationContext. getMessageContexts()
Methods in org.apache.axis2.context with parameters of type MessageContext Modifier and Type Method Description void
OperationContext. addMessageContext(MessageContext msgContext)
When a new message is added to theMEPContext
the logic should be included remove the MEPContext from the table in theEngineContext
.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 tablevoid
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)
-
Uses of MessageContext in org.apache.axis2.context.externalize
Methods in org.apache.axis2.context.externalize with parameters of type MessageContext Modifier and Type Method Description static SOAPEnvelope
MessageExternalizeUtils. readExternal(ObjectInput in, MessageContext mc, String correlationIDString)
Read the Messagestatic void
MessageExternalizeUtils. writeExternal(ObjectOutput out, MessageContext mc, String correlationIDString, OMOutputFormat outputFormat)
Write out the Message -
Uses of MessageContext in org.apache.axis2.dataretrieval
Methods in org.apache.axis2.dataretrieval with parameters of type MessageContext Modifier and Type Method Description Data[]
AxisDataLocator. getData(DataRetrievalRequest request, MessageContext msgContext)
Retrieves and returns data based on the specified request.Data[]
AxisDataLocatorImpl. 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[]
SchemaDataLocator. getData(DataRetrievalRequest request, MessageContext msgContext)
Data[]
WSDLDataLocator. getData(DataRetrievalRequest request, MessageContext msgContext)
getData API Implement data retrieval logic for WSDL dialectprotected Data[]
BaseAxisDataLocator. outputInlineForm(MessageContext msgContext, ServiceData[] serviceData)
protected Data[]
SchemaDataLocator. outputInlineForm(MessageContext msgContext, ServiceData[] serviceData)
protected Data[]
WSDLDataLocator. outputInlineForm(MessageContext msgContext, ServiceData[] dataList)
protected Data[]
BaseAxisDataLocator. outputReferenceForm(MessageContext msgContext, ServiceData[] serviceData)
-
Uses of MessageContext in org.apache.axis2.datasource.jaxb
Methods in org.apache.axis2.datasource.jaxb that return MessageContext Modifier and Type Method Description MessageContext
AttachmentContext. getMessageContext()
MessageContext
JAXBDSContext. getMessageContext()
MessageContext
MessageContextAttachmentContext. getMessageContext()
Methods in org.apache.axis2.datasource.jaxb with parameters of type MessageContext Modifier and Type Method Description void
JAXBDSContext. setMessageContext(MessageContext messageContext)
Constructors in org.apache.axis2.datasource.jaxb with parameters of type MessageContext Constructor Description MessageContextAttachmentContext(MessageContext msgContext)
-
Uses of MessageContext in org.apache.axis2.description
Methods in org.apache.axis2.description with parameters of type MessageContext Modifier and Type Method 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
InOnlyAxisOperation. addMessageContext(MessageContext msgContext, OperationContext opContext)
void
InOutAxisOperation. addMessageContext(MessageContext msgContext, OperationContext opContext)
void
OutInAxisOperation. addMessageContext(MessageContext msgContext, OperationContext opContext)
void
OutOnlyAxisOperation. addMessageContext(MessageContext msgContext, OperationContext opContext)
void
AxisService. attachEnvelopeEvent(MessageContext mc)
Signal an Attach Envelope Eventvoid
MessageContextListener. attachEnvelopeEvent(MessageContext mc)
void
AxisService. attachServiceContextEvent(ServiceContext sc, MessageContext mc)
Signal an Attach ServiceContext Eventvoid
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)
-
Uses of MessageContext in org.apache.axis2.dispatchers
Methods in org.apache.axis2.dispatchers with parameters of type MessageContext Modifier and Type Method Description abstract AxisOperation
AbstractOperationDispatcher. findOperation(AxisService service, MessageContext messageContext)
Called by Axis Engine to find the operation.AxisOperation
ActionBasedOperationDispatcher. findOperation(AxisService service, MessageContext messageContext)
AxisOperation
AddressingBasedDispatcher. findOperation(AxisService service, MessageContext messageContext)
AxisOperation
HTTPLocationBasedDispatcher. findOperation(AxisService service, MessageContext messageContext)
AxisOperation
RelatesToBasedOperationDispatcher. findOperation(AxisService service, MessageContext messageContext)
AxisOperation
RequestURIBasedDispatcher. findOperation(AxisService service, MessageContext messageContext)
AxisOperation
RequestURIBasedOperationDispatcher. findOperation(AxisService service, MessageContext messageContext)
AxisOperation
RequestURIOperationDispatcher. findOperation(AxisService service, MessageContext messageContext)
AxisOperation
SOAPActionBasedDispatcher. findOperation(AxisService service, MessageContext messageContext)
AxisOperation
SOAPMessageBodyBasedDispatcher. 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
AddressingBasedDispatcher. findService(MessageContext messageContext)
AxisService
HTTPLocationBasedDispatcher. findService(MessageContext messageContext)
AxisService
RelatesToBasedServiceDispatcher. findService(MessageContext messageContext)
AxisService
RequestURIBasedDispatcher. findService(MessageContext messageContext)
AxisService
RequestURIBasedServiceDispatcher. findService(MessageContext messageContext)
AxisService
RequestURIOperationDispatcher. findService(MessageContext messageContext)
AxisService
SOAPActionBasedDispatcher. findService(MessageContext messageContext)
AxisService
SOAPMessageBodyBasedDispatcher. findService(MessageContext messageContext)
AxisService
SOAPMessageBodyBasedServiceDispatcher. findService(MessageContext messageContext)
Handler.InvocationResponse
AbstractOperationDispatcher. invoke(MessageContext msgctx)
Handler.InvocationResponse
AbstractServiceDispatcher. invoke(MessageContext msgctx)
Handler.InvocationResponse
AddressingBasedDispatcher. invoke(MessageContext msgctx)
-
Uses of MessageContext in org.apache.axis2.engine
Methods in org.apache.axis2.engine with parameters of type MessageContext Modifier and Type Method Description void
DispatchPhase. checkPostConditions(MessageContext msgContext)
void
Phase. checkPostConditions(MessageContext msgContext)
Confirm that all post-conditions of this Phase are met.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
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.void
Phase. flowComplete(MessageContext msgContext)
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.Handler.InvocationResponse
Phase. invoke(MessageContext msgctx)
Invoke all the handlers in this Phasestatic 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 receiverstatic 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 endstatic void
AxisEngine. resumeSendFault(MessageContext msgContext)
here we assume that it is resume from an operation level handlerstatic 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. -
Uses of MessageContext in org.apache.axis2.fastinfoset
Methods in org.apache.axis2.fastinfoset with parameters of type MessageContext Modifier and Type Method Description String
FastInfosetMessageFormatter. formatSOAPAction(MessageContext messageContext, OMOutputFormat format, String soapAction)
Fast Infoset message formatter doesn't need to handle SOAP.String
FastInfosetPOXMessageFormatter. formatSOAPAction(MessageContext messageContext, OMOutputFormat format, String soapAction)
Plain Fast Infoset message formatter doesn't need to handle SOAP.String
FastInfosetMessageFormatter. getContentType(MessageContext messageContext, OMOutputFormat format, String soapAction)
Returns the content typeString
FastInfosetPOXMessageFormatter. getContentType(MessageContext messageContext, OMOutputFormat format, String soapAction)
Returns the content typeURL
FastInfosetMessageFormatter. getTargetAddress(MessageContext messageContext, OMOutputFormat format, URL targetURL)
Returns the target address to send the response FIXME This is very HTTP specific.URL
FastInfosetPOXMessageFormatter. getTargetAddress(MessageContext messageContext, OMOutputFormat format, URL targetURL)
Returns the target address to send the response FIXME This is very HTTP specific.OMElement
FastInfosetBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)
Returns a OMElement handler to the document element of the Fast Infoset message.OMElement
FastInfosetPOXBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)
Returns a OMElement handler to the document element of the Fast Infoset message.void
FastInfosetMessageFormatter. writeTo(MessageContext messageContext, OMOutputFormat format, OutputStream outputStream, boolean preserve)
Write the SOAP envelop to the given OutputStream.void
FastInfosetPOXMessageFormatter. writeTo(MessageContext messageContext, OMOutputFormat format, OutputStream outputStream, boolean preserve)
Write the SOAP envelop to the given OutputStream. -
Uses of MessageContext in org.apache.axis2.format
Methods in org.apache.axis2.format with parameters of type MessageContext Modifier and Type Method Description String
BinaryFormatter. formatSOAPAction(MessageContext messageContext, OMOutputFormat format, String soapAction)
String
MessageFormatterExAdapter. formatSOAPAction(MessageContext messageContext, OMOutputFormat format, String soapAction)
String
PlainTextFormatter. formatSOAPAction(MessageContext messageContext, OMOutputFormat format, String soapAction)
String
BinaryFormatter. getContentType(MessageContext messageContext, OMOutputFormat format, String soapAction)
String
MessageFormatterExAdapter. getContentType(MessageContext messageContext, OMOutputFormat format, String soapAction)
String
PlainTextFormatter. getContentType(MessageContext messageContext, OMOutputFormat format, String soapAction)
DataSource
BinaryFormatter. getDataSource(MessageContext messageContext, OMOutputFormat format, String soapAction)
DataSource
MessageFormatterEx. getDataSource(MessageContext messageContext, OMOutputFormat format, String soapAction)
Get the formatted message as aDataSource
object.DataSource
MessageFormatterExAdapter. getDataSource(MessageContext messageContext, OMOutputFormat format, String soapAction)
DataSource
PlainTextFormatter. getDataSource(MessageContext messageContext, OMOutputFormat format, String soapAction)
URL
BinaryFormatter. getTargetAddress(MessageContext messageContext, OMOutputFormat format, URL targetURL)
URL
MessageFormatterExAdapter. getTargetAddress(MessageContext messageContext, OMOutputFormat format, URL targetURL)
URL
PlainTextFormatter. getTargetAddress(MessageContext msgCtxt, OMOutputFormat format, URL targetURL)
OMElement
BinaryBuilder. processDocument(InputStream inputStream, String contentType, MessageContext msgContext)
OMElement
BinaryBuilder. processDocument(DataSource dataSource, String contentType, MessageContext msgContext)
OMElement
DataSourceMessageBuilder. processDocument(DataSource dataSource, String contentType, MessageContext messageContext)
OMElement
PlainTextBuilder. processDocument(InputStream inputStream, String contentType, MessageContext msgContext)
OMElement
PlainTextBuilder. processDocument(Reader reader, String contentType, MessageContext msgContext)
OMElement
PlainTextBuilder. processDocument(String content, String contentType, MessageContext msgContext)
OMElement
PlainTextBuilder. processDocument(DataSource dataSource, String contentType, MessageContext msgContext)
OMElement
TextMessageBuilder. processDocument(Reader reader, String contentType, MessageContext messageContext)
OMElement
TextMessageBuilder. processDocument(String content, String contentType, MessageContext messageContext)
OMElement
TextMessageBuilderAdapter. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)
OMElement
TextMessageBuilderAdapter. processDocument(Reader reader, String contentType, MessageContext messageContext)
OMElement
TextMessageBuilderAdapter. processDocument(String content, String contentType, MessageContext messageContext)
void
BinaryFormatter. writeTo(MessageContext messageContext, OMOutputFormat format, OutputStream outputStream, boolean preserve)
void
MessageFormatterExAdapter. writeTo(MessageContext messageContext, OMOutputFormat format, OutputStream outputStream, boolean preserve)
void
PlainTextFormatter. writeTo(MessageContext messageContext, OMOutputFormat format, OutputStream outputStream, boolean preserve)
-
Uses of MessageContext in org.apache.axis2.handlers
Methods in org.apache.axis2.handlers with parameters of type MessageContext Modifier and Type Method 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 logicabstract 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 -
Uses of MessageContext in org.apache.axis2.handlers.addressing
Methods in org.apache.axis2.handlers.addressing with parameters of type MessageContext Modifier and Type Method Description Handler.InvocationResponse
AddressingInHandler. doInvoke(MessageContext msgContext)
Handler.InvocationResponse
AddressingOutHandler. doInvoke(MessageContext msgContext)
Handler.InvocationResponse
AddressingInFaultHandler. invoke(MessageContext msgContext)
Handler.InvocationResponse
AddressingValidationHandler. invoke(MessageContext msgContext)
boolean
AddressingInHandler. shouldInvoke(MessageContext msgContext)
boolean
AddressingOutHandler. shouldInvoke(MessageContext msgContext)
-
Uses of MessageContext in org.apache.axis2.handlers.soapmonitor
Methods in org.apache.axis2.handlers.soapmonitor with parameters of type MessageContext Modifier and Type Method Description Handler.InvocationResponse
SOAPMonitorHandler. invoke(MessageContext messageContext)
Process and SOAP messagevoid
SOAPMonitorHandler. revoke(MessageContext msgContext)
-
Uses of MessageContext in org.apache.axis2.jaxws.addressing.migrator
Methods in org.apache.axis2.jaxws.addressing.migrator with parameters of type MessageContext Modifier and Type Method Description void
EndpointContextMapMigrator. cleanupContext(MessageContext messageContext)
void
EndpointContextMapMigrator. cleanupThread(MessageContext messageContext)
void
EndpointContextMapMigrator. migrateContextToThread(MessageContext messageContext)
void
EndpointContextMapMigrator. migrateThreadToContext(MessageContext messageContext)
-
Uses of MessageContext in org.apache.axis2.jaxws.client
Methods in org.apache.axis2.jaxws.client with parameters of type MessageContext Modifier and Type Method Description static boolean
ClientUtils. getExceptionToBeThrownOnSOAPFault(MessageContext msgContext)
The operation is used to make sure Option is property configured for ThrowingExceptionOnFault -
Uses of MessageContext in org.apache.axis2.jaxws.client.async
Methods in org.apache.axis2.jaxws.client.async with parameters of type MessageContext Modifier and Type Method Description static MessageContext
AsyncUtils. createJAXWSMessageContext(MessageContext mc)
void
CallbackFuture. onComplete(MessageContext mc)
void
PollingFuture. onComplete(MessageContext msgContext)
void
CallbackFuture. onFault(MessageContext msgContext)
void
PollingFuture. onFault(MessageContext msgContext)
void
CallbackFuture. onMessage(MessageContext msgContext)
void
PollingFuture. onMessage(MessageContext msgContext)
-
Uses of MessageContext in org.apache.axis2.jaxws.client.dispatch
Methods in org.apache.axis2.jaxws.client.dispatch with parameters of type MessageContext Modifier and Type Method Description Handler.InvocationResponse
DispatchOperationHandler. invoke(MessageContext msgContext)
-
Uses of MessageContext in org.apache.axis2.jaxws.context.utils
Methods in org.apache.axis2.jaxws.context.utils with parameters of type MessageContext Modifier and Type Method Description static boolean
ContextUtils. isJAXBRemoveIllegalChars(MessageContext mc)
isJAXBRemoveIllegalChars Determine if illegal characters should be removed when JAXB beans are written -
Uses of MessageContext in org.apache.axis2.jaxws.core
Methods in org.apache.axis2.jaxws.core that return MessageContext Modifier and Type Method Description MessageContext
MessageContext. getAxisMessageContext()
Constructors in org.apache.axis2.jaxws.core with parameters of type MessageContext Constructor Description MessageContext(MessageContext mc)
Construct a MessageContext with a prior MessageContext (usage inbound client/server or outbound server) -
Uses of MessageContext in org.apache.axis2.jaxws.dispatchers
Methods in org.apache.axis2.jaxws.dispatchers with parameters of type MessageContext Modifier and Type Method Description Handler.InvocationResponse
MustUnderstandChecker. doInvoke(MessageContext msgContext)
AxisOperation
GenericProviderDispatcher. findOperation(AxisService service, MessageContext messageContext)
AxisOperation
MustUnderstandValidationDispatcher. findOperation(AxisService service, MessageContext messageContext)
AxisService
GenericProviderDispatcher. findService(MessageContext messageContext)
AxisService
MustUnderstandValidationDispatcher. findService(MessageContext messageContext)
static ArrayList
MustUnderstandUtils. getHeaderParamaterList(MessageContext msgContext)
Handler.InvocationResponse
MustUnderstandValidationDispatcher. invoke(MessageContext msgctx)
static void
MustUnderstandUtils. markUnderstoodHeaderParameters(MessageContext msgContext)
Mark all headers for JAXWS SEI method paramaters as understood.boolean
MustUnderstandChecker. shouldInvoke(MessageContext msgContext)
-
Uses of MessageContext in org.apache.axis2.jaxws.handler
Methods in org.apache.axis2.jaxws.handler with parameters of type MessageContext Modifier and Type Method Description static void
HandlerUtils. checkMustUnderstand(MessageContext msgContext, List<QName> understood, List<String> additionalRoles)
checkMustUnderstand will validate headers that where delegated by Axis Engine to MessageReceiver for mustUnderstand check.static boolean
HandlerUtils. isHighFidelity(MessageContext mc)
isHighFidelity The JAX-WS engine attempts to stream data as fast as possible.static List<QName>
HandlerUtils. registerSOAPHandlerHeaders(MessageContext msgContext, List<Handler> handlers)
registerHandlerHeaders will invoke getHeaders on SOAPHandlers and return a List of headers that are Understood by the handlers. -
Uses of MessageContext in org.apache.axis2.jaxws.marshaller.impl.alt
Methods in org.apache.axis2.jaxws.marshaller.impl.alt with parameters of type MessageContext Modifier and Type Method Description void
UnmarshalMessageContextListener. attachEnvelopeEvent(MessageContext mc)
void
UnmarshalMessageContextListener. attachServiceContextEvent(ServiceContext sc, MessageContext mc)
-
Uses of MessageContext in org.apache.axis2.jaxws.message.attachments
Methods in org.apache.axis2.jaxws.message.attachments that return MessageContext Modifier and Type Method Description MessageContext
MessageAttachmentContext. getMessageContext()
-
Uses of MessageContext in org.apache.axis2.jaxws.message.databinding
Methods in org.apache.axis2.jaxws.message.databinding that return MessageContext Modifier and Type Method Description MessageContext
JAXBBlockContext. getMessageContext()
-
Uses of MessageContext in org.apache.axis2.jaxws.message.util
Methods in org.apache.axis2.jaxws.message.util with parameters of type MessageContext Modifier and Type Method Description static Message
MessageUtils. getMessageFromMessageContext(MessageContext msgContext)
Create a JAX-WS Message from the information on an Axis 2 Message Contextstatic void
MessageUtils. putMessageOnMessageContext(Message message, MessageContext msgContext)
Put the JAX-WS Message onto the Axis2 MessageContext -
Uses of MessageContext in org.apache.axis2.jaxws.server
Methods in org.apache.axis2.jaxws.server with parameters of type MessageContext Modifier and Type Method Description ClassLoader
JAXWSMessageReceiver. getCachedClassLoader(MessageContext msgContext)
static boolean
EndpointController. isOneWay(MessageContext mc)
void
JAXWSMessageReceiver. receive(MessageContext axisRequestMsgCtx)
We should have already determined which AxisService we're targetting at this point. -
Uses of MessageContext in org.apache.axis2.jaxws.utility
Methods in org.apache.axis2.jaxws.utility with parameters of type MessageContext Modifier and Type Method Description String
DataSourceFormatter. formatSOAPAction(MessageContext messageContext, OMOutputFormat format, String soapAction)
String
DataSourceFormatter. getContentType(MessageContext messageContext, OMOutputFormat format, String soapAction)
URL
DataSourceFormatter. getTargetAddress(MessageContext messageContext, OMOutputFormat format, URL targetURL)
void
DataSourceFormatter. writeTo(MessageContext messageContext, OMOutputFormat format, OutputStream outputStream, boolean preserve)
-
Uses of MessageContext in org.apache.axis2.json
Methods in org.apache.axis2.json with parameters of type MessageContext Modifier and Type Method Description String
AbstractJSONMessageFormatter. formatSOAPAction(MessageContext msgCtxt, OMOutputFormat format, String soapActionString)
String
AbstractJSONMessageFormatter. getContentType(MessageContext msgCtxt, OMOutputFormat format, String soapActionString)
protected abstract AbstractJSONDataSource
AbstractJSONOMBuilder. getDataSource(Reader jsonReader, MessageContext messageContext)
protected AbstractJSONDataSource
JSONBadgerfishOMBuilder. getDataSource(Reader jsonReader, MessageContext messageContext)
protected AbstractJSONDataSource
JSONOMBuilder. 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, OMOutputFormat format, URL targetURL)
OMElement
AbstractJSONOMBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)
gives the OMSourcedElement using the incoming JSON streamvoid
AbstractJSONMessageFormatter. writeTo(MessageContext msgCtxt, OMOutputFormat format, OutputStream out, boolean preserve)
Writes the JSON message to the output stream with the correct convention.Constructors in org.apache.axis2.json with parameters of type MessageContext Constructor Description JSONDataSource(Reader jsonReader, MessageContext messageContext)
-
Uses of MessageContext in org.apache.axis2.json.gson
Methods in org.apache.axis2.json.gson with parameters of type MessageContext Modifier and Type Method Description String
JsonFormatter. formatSOAPAction(MessageContext messageContext, OMOutputFormat omOutputFormat, String s)
String
JsonFormatter. getContentType(MessageContext outMsgCtxt, OMOutputFormat omOutputFormat, String s)
URL
JsonFormatter. getTargetAddress(MessageContext messageContext, 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.OMElement
JsonBuilder. processDocument(InputStream inputStream, String s, MessageContext messageContext)
void
JsonFormatter. writeTo(MessageContext outMsgCtxt, OMOutputFormat omOutputFormat, OutputStream outputStream, boolean preserve)
-
Uses of MessageContext in org.apache.axis2.json.gson.rpc
Methods in org.apache.axis2.json.gson.rpc with parameters of type MessageContext Modifier and Type Method 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)
-
Uses of MessageContext in org.apache.axis2.json.moshi
Methods in org.apache.axis2.json.moshi with parameters of type MessageContext Modifier and Type Method Description String
JsonFormatter. formatSOAPAction(MessageContext messageContext, OMOutputFormat omOutputFormat, String s)
String
JsonFormatter. getContentType(MessageContext outMsgCtxt, OMOutputFormat omOutputFormat, String s)
URL
JsonFormatter. getTargetAddress(MessageContext messageContext, 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.OMElement
JsonBuilder. processDocument(InputStream inputStream, String s, MessageContext messageContext)
void
JsonFormatter. writeTo(MessageContext outMsgCtxt, OMOutputFormat omOutputFormat, OutputStream outputStream, boolean preserve)
-
Uses of MessageContext in org.apache.axis2.json.moshi.rpc
Methods in org.apache.axis2.json.moshi.rpc with parameters of type MessageContext Modifier and Type Method Description void
JsonInOnlyRPCMessageReceiver. invokeBusinessLogic(MessageContext inMessage)
void
JsonRpcMessageReceiver. invokeBusinessLogic(MessageContext inMessage, MessageContext outMessage)
void
JsonRpcMessageReceiver. invokeService(com.squareup.moshi.JsonReader jsonReader, Object serviceObj, String operation_name, MessageContext outMes)
-
Uses of MessageContext in org.apache.axis2.kernel
Methods in org.apache.axis2.kernel with parameters of type MessageContext Modifier and Type Method 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 OMElement
TransportUtils. createDocumentElement(String contentType, Builder builder, MessageContext msgContext, InputStream inStream)
static OMElement
TransportUtils. createDocumentElement(String contentType, MessageContext msgContext, InputStream inStream)
static SOAPEnvelope
TransportUtils. createSOAPMessage(MessageContext msgContext)
static SOAPEnvelope
TransportUtils. createSOAPMessage(MessageContext msgContext, boolean detach)
This method will create a SOAPEnvelope based on the InputStream stored on the MessageContext.static 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 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 filestatic void
TransportUtils. detachInputStream(MessageContext msgContext)
Prepare the message in the given message context so that the underlying input stream can be closed.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, OMOutputFormat format, String soapAction)
static String
TransportUtils. getCharSetEncoding(MessageContext msgContext)
Utility method to query CharSetEncoding.String
MessageFormatter. getContentType(MessageContext messageContext, OMOutputFormat format, String soapAction)
Different message formats can set their own content types Eg: JSONFormatter can set the content type as application/jsonstatic String
TransportUtils. getContentType(String contentType, MessageContext msgContext)
SessionContext
TransportListener. getSessionContext(MessageContext messageContext)
To get the sessionContext transport dependent manner.URL
MessageFormatter. getTargetAddress(MessageContext messageContext, 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, OMOutputFormat format, OutputStream outputStream, boolean preserve)
To support deffered writing transports as in http chunking.. -
Uses of MessageContext in org.apache.axis2.kernel.http
Methods in org.apache.axis2.kernel.http with parameters of type MessageContext Modifier and Type Method Description String
ApplicationXMLFormatter. formatSOAPAction(MessageContext messageContext, OMOutputFormat format, String soapAction)
String
MultipartFormDataFormatter. formatSOAPAction(MessageContext messageContext, OMOutputFormat format, String soapAction)
String
SOAPMessageFormatter. formatSOAPAction(MessageContext msgCtxt, OMOutputFormat format, String soapActionString)
String
XFormURLEncodedFormatter. formatSOAPAction(MessageContext messageContext, OMOutputFormat format, String soapAction)
String
ApplicationXMLFormatter. getContentType(MessageContext messageContext, OMOutputFormat format, String soapAction)
String
MultipartFormDataFormatter. getContentType(MessageContext messageContext, OMOutputFormat format, String soapAction)
Different message formats can set their own content types Eg: JSONFormatter can set the content type as application/jsonString
SOAPMessageFormatter. getContentType(MessageContext msgCtxt, OMOutputFormat format, String soapActionString)
String
XFormURLEncodedFormatter. getContentType(MessageContext messageContext, OMOutputFormat format, String soapAction)
URL
ApplicationXMLFormatter. getTargetAddress(MessageContext messageContext, OMOutputFormat format, URL targetURL)
URL
MultipartFormDataFormatter. getTargetAddress(MessageContext messageContext, OMOutputFormat format, URL targetURL)
Some message formats may want to alter the target url.URL
SOAPMessageFormatter. getTargetAddress(MessageContext msgCtxt, OMOutputFormat format, URL targetURL)
URL
XFormURLEncodedFormatter. getTargetAddress(MessageContext messageContext, OMOutputFormat format, URL targetURL)
void
ApplicationXMLFormatter. writeTo(MessageContext messageContext, OMOutputFormat format, OutputStream outputStream, boolean preserve)
void
MultipartFormDataFormatter. writeTo(MessageContext messageContext, OMOutputFormat format, OutputStream outputStream, boolean preserve)
void
SOAPMessageFormatter. writeTo(MessageContext msgCtxt, OMOutputFormat format, OutputStream out, boolean preserve)
void
XFormURLEncodedFormatter. writeTo(MessageContext messageContext, OMOutputFormat format, OutputStream outputStream, boolean preserve)
-
Uses of MessageContext in org.apache.axis2.kernel.http.util
Methods in org.apache.axis2.kernel.http.util with parameters of type MessageContext Modifier and Type Method Description static URL
URLTemplatingUtil. appendQueryParameters(MessageContext messageContext, URL url)
Appends Query parameters to the URLstatic URL
URLTemplatingUtil. getTemplatedURL(URL targetURL, MessageContext messageContext, boolean detach)
Returns the templated URL given the original URL -
Uses of MessageContext in org.apache.axis2.mex
Methods in org.apache.axis2.mex with parameters of type MessageContext Modifier and Type Method Description void
MexMessageReceiver. invokeBusinessLogic(MessageContext msgContext, MessageContext newmsgContext)
Process GetMetadata requestMetadata
MexMessageReceiver. processRequest(List metadata_request_list, MessageContext msgContext, OMElement aReq)
-
Uses of MessageContext in org.apache.axis2.mtompolicy
Methods in org.apache.axis2.mtompolicy with parameters of type MessageContext Modifier and Type Method Description Handler.InvocationResponse
MTOMInHandler. invoke(MessageContext msgCtx)
Checks if the message should be MTOMised.Handler.InvocationResponse
MTOMOutHandler. invoke(MessageContext msgCtx)
Checks the effective policy set and based on it theenableMTOM
is set to the appropriate value. E.g. if the policy states that MTOM isoptional
then theenableMTOM
is set to this value. -
Uses of MessageContext in org.apache.axis2.ping
Methods in org.apache.axis2.ping with parameters of type MessageContext Modifier and Type Method Description void
PingResponse. initPingResponse(MessageContext msgContext)
void
PingMessageReceiver. invokeBusinessLogic(MessageContext inMessage, MessageContext outMessage)
-
Uses of MessageContext in org.apache.axis2.receivers
Methods in org.apache.axis2.receivers with parameters of type MessageContext Modifier and Type Method Description SOAPFactory
AbstractMessageReceiver. getSOAPFactory(MessageContext msgContext)
protected Object
AbstractMessageReceiver. getTheImplementationObject(MessageContext msgContext)
Retrieve the implementation object.void
ServerCallback. handleResult(MessageContext result)
void
AbstractInOutMessageReceiver. invokeBusinessLogic(MessageContext msgContext)
abstract void
AbstractInOutMessageReceiver. invokeBusinessLogic(MessageContext inMessage, MessageContext outMessage)
protected abstract void
AbstractMessageReceiver. invokeBusinessLogic(MessageContext messageCtx)
Do the actual work of the MessageReceiver.void
RawXMLINOnlyMessageReceiver. invokeBusinessLogic(MessageContext msgContext)
Invokes the business logic invocation on the service implementation classvoid
RawXMLINOutMessageReceiver. invokeBusinessLogic(MessageContext msgContext)
void
RawXMLINOutMessageReceiver. invokeBusinessLogic(MessageContext msgContext, MessageContext newmsgContext)
Invokes the bussiness logic invocation on the service implementation classprotected Object
AbstractMessageReceiver. makeNewServiceObject(MessageContext msgContext)
Create a new service object.void
AbstractMessageReceiver. receive(MessageContext messageCtx)
protected void
AbstractMessageReceiver. replicateState(MessageContext messageContext)
Constructors in org.apache.axis2.receivers with parameters of type MessageContext Constructor Description AsyncMessageReceiverWorker(MessageContext messageCtx)
-
Uses of MessageContext in org.apache.axis2.rpc.receivers
Methods in org.apache.axis2.rpc.receivers with parameters of type MessageContext Modifier and Type Method Description void
RPCInOnlyMessageReceiver. invokeBusinessLogic(MessageContext inMessage)
protected void
RPCInOutAsyncMessageReceiver. invokeBusinessLogic(MessageContext messageCtx)
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 forvoid
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 forstatic Object
RPCUtil. invokeServiceClass(AxisMessage inAxisMessage, Method method, Object implObject, String messageNameSpace, OMElement methodElement, MessageContext inMessage)
static void
RPCUtil. processResonseAsDocLitBare(Object resObject, AxisService service, Method method, SOAPEnvelope envelope, SOAPFactory fac, OMNamespace ns, OMElement bodyContent, MessageContext outMessage)
static void
RPCUtil. processResonseAsDocLitBare(Object resObject, AxisService service, SOAPEnvelope envelope, SOAPFactory fac, OMNamespace ns, OMElement bodyContent, MessageContext outMessage)
static void
RPCUtil. processResponseAsDocLitWrapped(Object resObject, AxisService service, Method method, SOAPEnvelope envelope, SOAPFactory fac, OMNamespace ns, OMElement bodyContent, MessageContext outMessage)
-
Uses of MessageContext in org.apache.axis2.rpc.receivers.ejb
Methods in org.apache.axis2.rpc.receivers.ejb with parameters of type MessageContext Modifier and Type Method Description protected Object
EJB3InOnlyMessageReceiver. makeNewServiceObject(MessageContext msgContext)
protected Object
EJB3MessageReceiver. makeNewServiceObject(MessageContext msgContext)
protected static Object
EJB3Util. makeNewServiceObject(MessageContext msgContext)
Return a object which implements the service.protected Object
EJBInOnlyMessageReceiver. makeNewServiceObject(MessageContext msgContext)
protected Object
EJBInOutAsyncMessageReceiver. makeNewServiceObject(MessageContext msgContext)
Deprecated.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. -
Uses of MessageContext in org.apache.axis2.saaj.util
Methods in org.apache.axis2.saaj.util with parameters of type MessageContext Modifier and Type Method Description Handler.InvocationResponse
UnderstandAllHeadersHandler. invoke(MessageContext msgContext)
-
Uses of MessageContext in org.apache.axis2.scripting
Subclasses of MessageContext in org.apache.axis2.scripting Modifier and Type Class Description class
ScriptMessageContext
ScriptMessageContext decorates the Axis2 MessageContext adding methods to use the message payload XML in a way natural to the scripting language.Methods in org.apache.axis2.scripting with parameters of type MessageContext Modifier and Type Method Description protected org.apache.bsf.BSFEngine
ScriptReceiver. getBSFEngine(MessageContext mc)
Gets the BSFEngine for the script service.protected org.apache.bsf.BSFEngine
ScriptReceiver. initScript(MessageContext mc)
Initializes the script service by finding the script source code, compiling it in a BSFEngine, and creating an OMElementConvertor for the script.void
ScriptReceiver. invokeBusinessLogic(MessageContext inMC, MessageContext outMC)
Invokes the service by calling the script functionConstructors in org.apache.axis2.scripting with parameters of type MessageContext Constructor Description ScriptMessageContext(MessageContext mc, OMElementConvertor convertor)
-
Uses of MessageContext in org.apache.axis2.transport.base
Methods in org.apache.axis2.transport.base that return MessageContext Modifier and Type Method Description MessageContext
AbstractTransportListener. createMessageContext()
Create a new axis MessageContext for an incoming message through this transportMessageContext
ProtocolEndpoint. createMessageContext()
MessageContext
AbstractTransportSender. createResponseMessageContext(MessageContext outMsgCtx)
Create a new axis MessageContext for an incoming response message through this transport, for the given outgoing messageMethods in org.apache.axis2.transport.base with parameters of type MessageContext Modifier and Type Method 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 messagestatic MessageFormatter
BaseUtils. getMessageFormatter(MessageContext msgContext)
Get the MessageFormatter for the given message.static OMOutputFormat
BaseUtils. getOMOutputFormat(MessageContext msgContext)
Get the OMOutput format for the given messageSessionContext
AbstractTransportListener. getSessionContext(MessageContext messageContext)
void
AbstractTransportListener. handleIncomingMessage(MessageContext msgCtx, Map trpHeaders, String soapAction, String contentType)
Process a new incoming message through the axis enginevoid
AbstractTransportSender. handleIncomingMessage(MessageContext msgCtx, Map trpHeaders, String soapAction, String contentType)
Process a new incoming message (Response) through the axis enginevoid
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?Constructors in org.apache.axis2.transport.base with parameters of type MessageContext Constructor Description SynchronousCallback(MessageContext outMessageContext)
-
Uses of MessageContext in org.apache.axis2.transport.base.endpoint
Methods in org.apache.axis2.transport.base.endpoint with parameters of type MessageContext Modifier and Type Method Description void
URLEndpoint. setParameters(MessageContext msgCtx)
-
Uses of MessageContext in org.apache.axis2.transport.http
Fields in org.apache.axis2.transport.http declared as MessageContext Modifier and Type Field Description protected MessageContext
AxisServlet.RestRequestProcessor. messageContext
Methods in org.apache.axis2.transport.http that return MessageContext Modifier and Type Method 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)
Methods in org.apache.axis2.transport.http with parameters of type MessageContext Modifier and Type Method Description void
AxisServlet.ServletRequestResponseTransport. acknowledgeMessage(MessageContext msgContext)
protected abstract Request
HTTPSender. createRequest(MessageContext msgContext, String methodName, URL url, AxisRequestEntity requestEntity)
Start a new HTTP request.SessionContext
AxisServletListener. getSessionContext(MessageContext messageContext)
SessionContext
SimpleHTTPServer. getSessionContext(MessageContext messageContext)
protected void
AxisServlet. handleFault(MessageContext msgContext, OutputStream out, AxisFault e)
static InputStream
HTTPTransportUtils. handleGZip(MessageContext msgContext, InputStream in)
static int
HTTPTransportUtils. initializeMessageContext(MessageContext msgContext, String soapActionHeader, String requestURI, String contentType)
Handler.InvocationResponse
AbstractHTTPTransportSender. 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) insteadstatic Handler.InvocationResponse
HTTPTransportUtils. processHTTPPostRequest(MessageContext msgContext, InputStream in, OutputStream out, String contentType, String soapActionHeader, String requestURI)
static Handler.InvocationResponse
HTTPTransportUtils. processHTTPPostRequest(MessageContext msgContext, InputStream in, OutputStream out, String contentType, Builder builder, String soapActionHeader, String requestURI)
void
HTTPSender. send(MessageContext msgContext, URL url, String soapActionString)
void
HTTPWorker. service(AxisHttpRequest request, AxisHttpResponse response, MessageContext msgContext)
-
Uses of MessageContext in org.apache.axis2.transport.http.impl.httpclient4
Methods in org.apache.axis2.transport.http.impl.httpclient4 with parameters of type MessageContext Modifier and Type Method Description void
HTTPClient4TransportSender. cleanup(MessageContext msgContext)
static void
HTTPProxyConfigurator. configure(MessageContext messageContext, org.apache.http.client.config.RequestConfig.Builder requestConfig, org.apache.http.client.protocol.HttpClientContext clientContext)
Configure HTTP Proxy settings of httpcomponents HostConfiguration.protected Request
HTTPSenderImpl. createRequest(MessageContext msgContext, String methodName, URL url, AxisRequestEntity requestEntity)
static boolean
HTTPProxyConfigurator. isProxyEnabled(MessageContext messageContext, URL targetURL)
Check whether http proxy is configured or active. -
Uses of MessageContext in org.apache.axis2.transport.http.server
Methods in org.apache.axis2.transport.http.server with parameters of type MessageContext Modifier and Type Method 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)
-
Uses of MessageContext in org.apache.axis2.transport.http.util
Methods in org.apache.axis2.transport.http.util with parameters of type MessageContext Modifier and Type Method Description 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)
-
Uses of MessageContext in org.apache.axis2.transport.java
Methods in org.apache.axis2.transport.java with parameters of type MessageContext Modifier and Type Method Description void
JavaTransportSender. cleanup(MessageContext msgContext)
Handler.InvocationResponse
JavaTransportSender. invoke(MessageContext msgContext)
-
Uses of MessageContext in org.apache.axis2.transport.jms
Methods in org.apache.axis2.transport.jms with parameters of type MessageContext Modifier and Type Method Description static void
JMSUtils. loadTransportHeaders(javax.jms.Message message, MessageContext responseMsgCtx)
Read the transport headers from the JMS Message and set them to the axis2 message contextvoid
JMSMessageSender. send(javax.jms.Message message, MessageContext msgCtx)
Perform actual send of JMS message to the Destination selectedvoid
JMSSender. sendMessage(MessageContext msgCtx, String targetAddress, OutTransportInfo outTransportInfo)
Performs the actual sending of the JMS messagestatic void
JMSUtils. setSOAPEnvelope(javax.jms.Message message, MessageContext msgContext, String contentType)
Set the SOAPEnvelope to the Axis2 MessageContext, from the JMS Message passed instatic void
JMSUtils. setTransportHeaders(MessageContext msgContext, javax.jms.Message message)
Set transport headers from the axis message context, into the JMS message -
Uses of MessageContext in org.apache.axis2.transport.local
Methods in org.apache.axis2.transport.local with parameters of type MessageContext Modifier and Type Method 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 invokeHandler.InvocationResponse
LocalTransportSender. invoke(MessageContext msgContext)
Method invokevoid
LocalTransportReceiver. processMessage(MessageContext inMessageContext, InputStream in, OutputStream response)
-
Uses of MessageContext in org.apache.axis2.transport.mail
Methods in org.apache.axis2.transport.mail with parameters of type MessageContext Modifier and Type Method Description void
MailRequestResponseTransport. acknowledgeMessage(MessageContext messageContext)
void
MailTransportSender. sendMessage(MessageContext msgCtx, String targetAddress, OutTransportInfo outTransportInfo)
Send the given message over the Mail transport -
Uses of MessageContext in org.apache.axis2.transport.tcp
Methods in org.apache.axis2.transport.tcp with parameters of type MessageContext Modifier and Type Method Description void
TCPTransportSender. cleanup(MessageContext msgContext)
void
TCPTransportSender. sendMessage(MessageContext msgContext, String targetEPR, OutTransportInfo outTransportInfo)
-
Uses of MessageContext in org.apache.axis2.transport.testkit.axis2
Methods in org.apache.axis2.transport.testkit.axis2 with parameters of type MessageContext Modifier and Type Method Description Object
LogAspect. aroundProcessDocument(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint, InputStream in, String contentType, MessageContext msgContext)
void
LogAspect. aroundWriteTo(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint, MessageContext msgContext, OMOutputFormat format, OutputStream out, boolean preserve)
void
MessageContextValidator. validate(MessageContext msgContext, boolean isResponse)
-
Uses of MessageContext in org.apache.axis2.transport.testkit.axis2.client
Methods in org.apache.axis2.transport.testkit.axis2.client that return MessageContext Modifier and Type Method Description protected MessageContext
AxisTestClient. send(ClientOptions options, AxisMessage message, QName operationQName, boolean block, String resultMessageLabel)
Methods in org.apache.axis2.transport.testkit.axis2.client with parameters of type MessageContext Modifier and Type Method Description void
AxisTestClientConfigurator. setupRequestMessageContext(MessageContext msgContext)
-
Uses of MessageContext in org.apache.axis2.transport.testkit.http
Methods in org.apache.axis2.transport.testkit.http with parameters of type MessageContext Modifier and Type Method Description void
JettyEchoEndpoint. validate(MessageContext msgContext, boolean isResponse)
-
Uses of MessageContext in org.apache.axis2.transport.testkit.message
Constructors in org.apache.axis2.transport.testkit.message with parameters of type MessageContext Constructor Description AxisMessage(MessageContext msgContext)
-
Uses of MessageContext in org.apache.axis2.transport.testkit.util
Methods in org.apache.axis2.transport.testkit.util with parameters of type MessageContext Modifier and Type Method Description SessionContext
LifecycleFixTransportListenerProxy. getSessionContext(MessageContext arg0)
-
Uses of MessageContext in org.apache.axis2.transport.udp
Methods in org.apache.axis2.transport.udp with parameters of type MessageContext Modifier and Type Method Description void
UDPSender. sendMessage(MessageContext msgContext, String targetEPR, OutTransportInfo outTransportInfo)
-
Uses of MessageContext in org.apache.axis2.transport.xmpp
Methods in org.apache.axis2.transport.xmpp with parameters of type MessageContext Modifier and Type Method Description void
XMPPSender. cleanup(MessageContext msgContext)
SessionContext
XMPPListener. getSessionContext(MessageContext messageContext)
Handler.InvocationResponse
XMPPSender. invoke(MessageContext msgContext)
static void
XMPPSender. processChatMessage(MessageContext msgCtx)
Process message requests that came in through chat clientsvoid
XMPPSender. sendMessage(MessageContext msgCtx, String targetAddress, OutTransportInfo outTransportInfo)
Send the given message over XMPP transport -
Uses of MessageContext in org.apache.axis2.transport.xmpp.util
Methods in org.apache.axis2.transport.xmpp.util with parameters of type MessageContext Modifier and Type Method Description void
XMPPClientResponseManager. listenForResponse(String key, MessageContext messageContext)
Constructors in org.apache.axis2.transport.xmpp.util with parameters of type MessageContext Constructor Description WaitingDetails(MessageContext messageContext)
XMPPClientSidePacketListener(MessageContext messageContext)
-
Uses of MessageContext in org.apache.axis2.util
Methods in org.apache.axis2.util that return MessageContext Modifier and Type Method 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 MessageContextMethods in org.apache.axis2.util with parameters of type MessageContext Modifier and Type Method 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. when the particular processing of a message is unwinding.)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. when the particular processing of a message is unwinding.)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 MessageContextstatic 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. content-type to builder mapping can be specified through the Axis2.xml.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.
-