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 MessageContextAxisFault. 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(org.apache.axiom.soap.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 org.apache.axiom.om.OMElementAddressingFaultsHelper. getDetailElementForAddressingFault(MessageContext messageContext, org.apache.axiom.om.OMNamespace addressingNamespaceObject)static StringAddressingHelper. getRequestAddressingRequirementParameterValue(MessageContext response)static booleanAddressingHelper. isFaultRedirected(MessageContext messageContext)Returns true if the FaultTo address does not match one of the supported anonymous urls.static booleanAddressingHelper. isReplyRedirected(MessageContext messageContext)Returns true if the ReplyTo address does not match one of the supported anonymous urls.static booleanAddressingHelper. isSyncFaultAllowed(MessageContext messageContext)Returns true if the FaultTo address matches one of the supported anonymous urls.static booleanAddressingHelper. isSyncReplyAllowed(MessageContext messageContext)Returns true if the ReplyTo address matches one of the supported anonymous urls.static booleanAddressingHelper. shouldSendFaultToFaultTo(MessageContext messageContext)If the inbound FaultTo header was invalid and caused a fault, the fault should not be sent to it.static voidAddressingFaultsHelper. triggerActionMismatchFault(MessageContext messageContext, String soapAction, String wsaAction)static voidAddressingFaultsHelper. triggerActionNotSupportedFault(MessageContext messageContext, String problemAction)static voidAddressingFaultsHelper. triggerDestinationUnreachableFault(MessageContext messageContext, String address)static voidAddressingFaultsHelper. triggerInvalidCardinalityFault(MessageContext messageContext, String incorrectHeaderName)static voidAddressingFaultsHelper. triggerInvalidEPRFault(MessageContext messageContext, String incorrectHeaderName)static voidAddressingFaultsHelper. triggerMessageAddressingRequiredFault(MessageContext messageContext, String missingHeaderName)static voidAddressingFaultsHelper. triggerMissingAddressInEPRFault(MessageContext messageContext, String incorrectHeaderName)static voidAddressingFaultsHelper. triggerOnlyAnonymousAddressSupportedFault(MessageContext messageContext, String incorrectHeaderName)static voidAddressingFaultsHelper. 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 org.apache.axiom.soap.SOAPEnvelopeBuilderUtil. buildsoapMessage(MessageContext messageContext, MultipleEntryHashMap requestParameterMap, org.apache.axiom.soap.SOAPFactory soapFactory)static org.apache.axiom.attachments.AttachmentsBuilderUtil. createAttachments(MessageContext msgContext, InputStream inStream, String contentTypeString, boolean fileCacheForAttachments, String attachmentRepoDir, String attachmentSizeThreshold, int contentLength)static org.apache.axiom.attachments.AttachmentsBuilderUtil. createAttachmentsMap(MessageContext msgContext, InputStream inStream, String contentTypeString)static BuilderBuilderUtil. getBuilderFromSelector(String type, MessageContext msgContext)Deprecated.static booleanBuilderUtil. isAttachmentsCacheEnabled(MessageContext msgContext)org.apache.axiom.om.OMElementApplicationXMLBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)org.apache.axiom.om.OMElementBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)Process a message.org.apache.axiom.om.OMElementDataSourceBuilder. processDocument(InputStream inputStream, String contentType, MessageContext msgContext)org.apache.axiom.om.OMElementMIMEBuilder. processDocument(InputStream inputStream, String contentType, MessageContext msgContext)org.apache.axiom.om.OMElementMTOMBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)org.apache.axiom.om.OMElementMultipartFormDataBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)org.apache.axiom.om.OMElementSOAPBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)org.apache.axiom.om.OMElementXFormURLEncodedBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)org.apache.axiom.om.OMElementMIMEAwareBuilder. processMIMEMessage(org.apache.axiom.attachments.Attachments attachments, String contentType, MessageContext messageContext)Process a MIME multipart message and initialize the message context.org.apache.axiom.om.OMElementMTOMBuilder. processMIMEMessage(org.apache.axiom.attachments.Attachments attachments, String contentType, MessageContext messageContext)org.apache.axiom.om.OMElementSOAPBuilder. processMIMEMessage(org.apache.axiom.attachments.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 org.apache.axiom.om.OMElementUnknownContentBuilder. 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 MessageContextThreadContextDescriptor. getOldMessageContext()Methods in org.apache.axis2.classloader with parameters of type MessageContext Modifier and Type Method Description voidThreadContextDescriptor. setOldMessageContext(MessageContext oldMessageContext)static ThreadContextDescriptorThreadContextDescriptor. 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 MessageContextOperationClient. 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 voidStub. addHttpHeader(MessageContext messageContext, String name, String value)add an http header with name and value to message contextabstract voidOperationClient. addMessageContext(MessageContext messageContext)Add a message context to the client for processing.protected voidOperationClient. addReferenceParameters(MessageContext msgctx)voidOperationClient. complete(MessageContext msgCtxt)To close the transport if necessary , can call this method.protected voidOperationClient. prepareMessageContext(ConfigurationContext configurationContext, MessageContext mc)prepareMessageContext gets a fresh new MessageContext ready to be sent.protected voidOperationClient. 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 voidAxisCallback. onFault(MessageContext msgContext)This gets called when a fault message is received.voidAxisCallback. 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.InvocationResponseRequestBlockingHandler. 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 voidReplicator. 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. currentMessageContextA place to store the current MessageContextMethods in org.apache.axis2.context that return MessageContext Modifier and Type Method Description MessageContextConfigurationContext. createMessageContext()Create a MessageContext, and notify any registered ContextListener.MessageContextMessageContext. extractCopyMessageContext()Return a Read-Only copy of this message context that has been extracted from the object hierachy.static MessageContextMessageContext. getCurrentMessageContext()MessageContextOperationContext. 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 voidOperationContext. addMessageContext(MessageContext msgContext)When a new message is added to theMEPContextthe logic should be included remove the MEPContext from the table in theEngineContext.voidSelfManagedDataManager. deserializeSelfManagedData(ByteArrayInputStream data, MessageContext mc)This method is invoked when the MessageContext object is being restored.voidConfigurationContext. fillServiceContextAndServiceGroupContext(MessageContext messageContext)Searches for a ServiceGroupContext in the map with given id as the key.ServiceGroupContextConfigurationContext. getServiceGroupContextFromSoapSessionTable(String serviceGroupContextId, MessageContext msgContext)Retrieve the ServiceGroupContext from the SOAP session tablevoidOperationContext. isolateMessageContext(MessageContext mc)Isolate the specified message context object to prepare for serialization.voidOperationContext. restoreMessageContext(MessageContext msg)Restore the specified MessageContext object in the table used to hold the message contexts associated with this operation.voidSelfManagedDataManager. restoreTransientData(MessageContext mc)This method is invoked when the MessageContext object is being restored and after the deserializeSelfManagedData() method.ByteArrayOutputStreamSelfManagedDataManager. serializeSelfManagedData(MessageContext mc)This method is invoked when the MessageContext object is being saved.static voidMessageContext. 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 org.apache.axiom.soap.SOAPEnvelopeMessageExternalizeUtils. readExternal(ObjectInput in, MessageContext mc, String correlationIDString)Read the Messagestatic voidMessageExternalizeUtils. writeExternal(ObjectOutput out, MessageContext mc, String correlationIDString, org.apache.axiom.om.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.description
Methods in org.apache.axis2.description with parameters of type MessageContext Modifier and Type Method Description abstract voidAxisOperation. addFaultMessageContext(MessageContext msgContext, OperationContext opContext)voidInOnlyAxisOperation. addFaultMessageContext(MessageContext msgContext, OperationContext opContext)voidOutOnlyAxisOperation. addFaultMessageContext(MessageContext msgContext, OperationContext opContext)voidTwoChannelAxisOperation. addFaultMessageContext(MessageContext msgContext, OperationContext opContext)abstract voidAxisOperation. addMessageContext(MessageContext msgContext, OperationContext opContext)Adds a message context into an operation context.voidInOnlyAxisOperation. addMessageContext(MessageContext msgContext, OperationContext opContext)voidInOutAxisOperation. addMessageContext(MessageContext msgContext, OperationContext opContext)voidOutInAxisOperation. addMessageContext(MessageContext msgContext, OperationContext opContext)voidOutOnlyAxisOperation. addMessageContext(MessageContext msgContext, OperationContext opContext)voidAxisService. attachEnvelopeEvent(MessageContext mc)Signal an Attach Envelope EventvoidMessageContextListener. attachEnvelopeEvent(MessageContext mc)voidAxisService. attachServiceContextEvent(ServiceContext sc, MessageContext mc)Signal an Attach ServiceContext EventvoidMessageContextListener. attachServiceContextEvent(ServiceContext sc, MessageContext mc)OperationContextAxisOperation. findForExistingOperationContext(MessageContext msgContext)Returns as existing OperationContext related to this message if one exists.OperationContextAxisOperation. 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 TransportInDescriptionClientUtils. inferInTransport(AxisConfiguration ac, Options options, MessageContext msgCtxt)static TransportOutDescriptionClientUtils. inferOutTransport(AxisConfiguration ac, EndpointReference epr, MessageContext msgctx)voidAxisOperation. registerMessageContext(MessageContext msgContext, OperationContext operationContext)voidAxisOperation. 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 AxisOperationAbstractOperationDispatcher. findOperation(AxisService service, MessageContext messageContext)Called by Axis Engine to find the operation.AxisOperationActionBasedOperationDispatcher. findOperation(AxisService service, MessageContext messageContext)AxisOperationAddressingBasedDispatcher. findOperation(AxisService service, MessageContext messageContext)AxisOperationHTTPLocationBasedDispatcher. findOperation(AxisService service, MessageContext messageContext)AxisOperationRelatesToBasedOperationDispatcher. findOperation(AxisService service, MessageContext messageContext)AxisOperationRequestURIBasedDispatcher. findOperation(AxisService service, MessageContext messageContext)AxisOperationRequestURIBasedOperationDispatcher. findOperation(AxisService service, MessageContext messageContext)AxisOperationRequestURIOperationDispatcher. findOperation(AxisService service, MessageContext messageContext)AxisOperationSOAPActionBasedDispatcher. findOperation(AxisService service, MessageContext messageContext)AxisOperationSOAPMessageBodyBasedDispatcher. findOperation(AxisService service, MessageContext messageContext)AxisOperationSOAPMessageBodyBasedOperationDispatcher. findOperation(AxisService service, MessageContext messageContext)abstract AxisServiceAbstractServiceDispatcher. findService(MessageContext messageContext)Called by Axis Engine to find the service.AxisServiceAddressingBasedDispatcher. findService(MessageContext messageContext)AxisServiceHTTPLocationBasedDispatcher. findService(MessageContext messageContext)AxisServiceRelatesToBasedServiceDispatcher. findService(MessageContext messageContext)AxisServiceRequestURIBasedDispatcher. findService(MessageContext messageContext)AxisServiceRequestURIBasedServiceDispatcher. findService(MessageContext messageContext)AxisServiceRequestURIOperationDispatcher. findService(MessageContext messageContext)AxisServiceSOAPActionBasedDispatcher. findService(MessageContext messageContext)AxisServiceSOAPMessageBodyBasedDispatcher. findService(MessageContext messageContext)AxisServiceSOAPMessageBodyBasedServiceDispatcher. findService(MessageContext messageContext)Handler.InvocationResponseAbstractOperationDispatcher. invoke(MessageContext msgctx)Handler.InvocationResponseAbstractServiceDispatcher. invoke(MessageContext msgctx)Handler.InvocationResponseAddressingBasedDispatcher. 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 voidDispatchPhase. checkPostConditions(MessageContext msgContext)voidPhase. checkPostConditions(MessageContext msgContext)Confirm that all post-conditions of this Phase are met.voidPhase. checkPreconditions(MessageContext msgContext)Check the preconditions for a Phase.abstract AxisOperationAbstractDispatcher. findOperation(AxisService service, MessageContext messageContext)Called by Axis Engine to find the operation.abstract AxisServiceAbstractDispatcher. findService(MessageContext messageContext)Called by Axis Engine to find the service.voidHandler. 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.voidPhase. flowComplete(MessageContext msgContext)Handler.InvocationResponseAbstractDispatcher. invoke(MessageContext msgctx)Handler.InvocationResponseHandler. invoke(MessageContext msgContext)This method will be called on each registered handler when a message needs to be processed.Handler.InvocationResponsePhase. invoke(MessageContext msgctx)Invoke all the handlers in this Phasestatic Handler.InvocationResponseAxisEngine. receive(MessageContext msgContext)This methods represents the inflow of the Axis, this could be either at the server side or the client side.voidMessageReceiver. receive(MessageContext messageCtx)static Handler.InvocationResponseAxisEngine. resume(MessageContext msgctx)Resume processing of a message.static Handler.InvocationResponseAxisEngine. resumeReceive(MessageContext msgContext)If the msgConetext is puased and try to invoke then first invoke the phase list and after the message receiverstatic Handler.InvocationResponseAxisEngine. resumeSend(MessageContext msgContext)To resume the invocation at the send path , this is neened since it is require to call TransportSender at the endstatic voidAxisEngine. resumeSendFault(MessageContext msgContext)here we assume that it is resume from an operation level handlerstatic voidAxisEngine. send(MessageContext msgContext)This methods represents the outflow of the Axis, this could be either at the server side or the client side.static voidAxisEngine. sendFault(MessageContext msgContext)Sends the SOAP Fault to another SOAP node. -
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.InvocationResponseAbstractTemplatedHandler. doInvoke(MessageContext msgCtx)This should implement the actual handler invocation logic.voidAbstractHandler. flowComplete(MessageContext msgContext)Handler.InvocationResponseAbstractTemplatedHandler. invoke(MessageContext msgContext)Implements the separation of the conditional check and the actual logicabstract booleanAbstractTemplatedHandler. 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.kernel
Methods in org.apache.axis2.kernel with parameters of type MessageContext Modifier and Type Method Description voidRequestResponseTransport. acknowledgeMessage(MessageContext msgContext)Notify the transport that a message should be acknowledged at this time.voidTransportSender. cleanup(MessageContext msgContext)Release resources associated with a given message context.static org.apache.axiom.om.OMElementTransportUtils. createDocumentElement(String contentType, Builder builder, MessageContext msgContext, InputStream inStream)static org.apache.axiom.om.OMElementTransportUtils. createDocumentElement(String contentType, MessageContext msgContext, InputStream inStream)static org.apache.axiom.soap.SOAPEnvelopeTransportUtils. createSOAPMessage(MessageContext msgContext)static org.apache.axiom.soap.SOAPEnvelopeTransportUtils. createSOAPMessage(MessageContext msgContext, boolean detach)This method will create a SOAPEnvelope based on the InputStream stored on the MessageContext.static org.apache.axiom.soap.SOAPEnvelopeTransportUtils. createSOAPMessage(MessageContext msgContext, InputStream inStream, String contentType)Objective of this method is to capture the SOAPEnvelope creation logic and make it a common for all the transports and to in/out flows.static org.apache.axiom.soap.SOAPEnvelopeTransportUtils. 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 voidTransportUtils. deleteAttachments(MessageContext msgContext)Clean up cached attachment filestatic voidTransportUtils. detachInputStream(MessageContext msgContext)Prepare the message in the given message context so that the underlying input stream can be closed.static booleanTransportUtils. doWriteMTOM(MessageContext msgContext)Checks whether MTOM needs to be enabled for the message represented by the msgContext.static booleanTransportUtils. doWriteSwA(MessageContext msgContext)Checks whether SOAP With Attachments (SwA) needs to be enabled for the message represented by the msgContext.StringMessageFormatter. formatSOAPAction(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction)static StringTransportUtils. getCharSetEncoding(MessageContext msgContext)Utility method to query CharSetEncoding.StringMessageFormatter. 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/jsonstatic StringTransportUtils. getContentType(String contentType, MessageContext msgContext)SessionContextTransportListener. getSessionContext(MessageContext messageContext)To get the sessionContext transport dependent manner.URLMessageFormatter. getTargetAddress(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, URL targetURL)Some message formats may want to alter the target url.static booleanTransportUtils. isDoingREST(MessageContext msgContext)static booleanTransportUtils. isResponseWritten(MessageContext messageContext)This is a helper method to get the response written flag from the RequestResponseTransport instance.static voidTransportUtils. processContentTypeForAction(String contentType, MessageContext msgContext)static voidTransportUtils. setResponseWritten(MessageContext messageContext, boolean responseWritten)This is a helper method to set the response written flag on the RequestResponseTransport instance.static voidTransportUtils. writeMessage(MessageContext msgContext, OutputStream out)voidMessageFormatter. writeTo(MessageContext messageContext, org.apache.axiom.om.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 StringApplicationXMLFormatter. formatSOAPAction(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction)StringMultipartFormDataFormatter. formatSOAPAction(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction)StringSOAPMessageFormatter. formatSOAPAction(MessageContext msgCtxt, org.apache.axiom.om.OMOutputFormat format, String soapActionString)StringXFormURLEncodedFormatter. formatSOAPAction(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction)StringApplicationXMLFormatter. getContentType(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction)StringMultipartFormDataFormatter. 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/jsonStringSOAPMessageFormatter. getContentType(MessageContext msgCtxt, org.apache.axiom.om.OMOutputFormat format, String soapActionString)StringXFormURLEncodedFormatter. getContentType(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, String soapAction)URLApplicationXMLFormatter. getTargetAddress(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, URL targetURL)URLMultipartFormDataFormatter. getTargetAddress(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, URL targetURL)Some message formats may want to alter the target url.URLSOAPMessageFormatter. getTargetAddress(MessageContext msgCtxt, org.apache.axiom.om.OMOutputFormat format, URL targetURL)URLXFormURLEncodedFormatter. getTargetAddress(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, URL targetURL)voidApplicationXMLFormatter. writeTo(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, OutputStream outputStream, boolean preserve)voidMultipartFormDataFormatter. writeTo(MessageContext messageContext, org.apache.axiom.om.OMOutputFormat format, OutputStream outputStream, boolean preserve)voidSOAPMessageFormatter. writeTo(MessageContext msgCtxt, org.apache.axiom.om.OMOutputFormat format, OutputStream out, boolean preserve)voidXFormURLEncodedFormatter. writeTo(MessageContext messageContext, org.apache.axiom.om.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 URLURLTemplatingUtil. appendQueryParameters(MessageContext messageContext, URL url)Appends Query parameters to the URLstatic URLURLTemplatingUtil. getTemplatedURL(URL targetURL, MessageContext messageContext, boolean detach)Returns the templated URL given the original URL -
Uses of MessageContext in org.apache.axis2.receivers
Methods in org.apache.axis2.receivers with parameters of type MessageContext Modifier and Type Method Description org.apache.axiom.soap.SOAPFactoryAbstractMessageReceiver. getSOAPFactory(MessageContext msgContext)protected ObjectAbstractMessageReceiver. getTheImplementationObject(MessageContext msgContext)Retrieve the implementation object.voidServerCallback. handleResult(MessageContext result)voidAbstractInOutMessageReceiver. invokeBusinessLogic(MessageContext msgContext)abstract voidAbstractInOutMessageReceiver. invokeBusinessLogic(MessageContext inMessage, MessageContext outMessage)protected abstract voidAbstractMessageReceiver. invokeBusinessLogic(MessageContext messageCtx)Do the actual work of the MessageReceiver.voidRawXMLINOnlyMessageReceiver. invokeBusinessLogic(MessageContext msgContext)Invokes the business logic invocation on the service implementation classvoidRawXMLINOutMessageReceiver. invokeBusinessLogic(MessageContext msgContext)voidRawXMLINOutMessageReceiver. invokeBusinessLogic(MessageContext msgContext, MessageContext newmsgContext)Invokes the bussiness logic invocation on the service implementation classprotected ObjectAbstractMessageReceiver. makeNewServiceObject(MessageContext msgContext)Create a new service object.voidAbstractMessageReceiver. receive(MessageContext messageCtx)protected voidAbstractMessageReceiver. 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.util
Methods in org.apache.axis2.util that return MessageContext Modifier and Type Method Description static MessageContextMessageContextBuilder. createFaultMessageContext(MessageContext processingContext, Throwable e)This method is called to handle any error that occurs at inflow or outflow.static MessageContextMessageContextBuilder. 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 StringWSDL20Util. applyURITemplating(MessageContext messageContext, String rawURLString, boolean detach)This method is used to resolve httplocation property.voidThreadContextMigrator. 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.voidThreadContextMigrator. 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 MessageContextMessageContextBuilder. createFaultMessageContext(MessageContext processingContext, Throwable e)This method is called to handle any error that occurs at inflow or outflow.static MessageContextMessageContextBuilder. createOutMessageContext(MessageContext inMessageContext)Creates a MessageContext for use with a non-fault response based on an request MessageContextstatic AxisFaultUtils. getInboundFaultFromMessageContext(MessageContext messageContext)Get an AxisFault object to represent the SOAPFault in the SOAPEnvelope attached to the provided MessageContext.static BuilderMessageProcessorSelector. getMessageBuilder(String type, MessageContext msgContext)Initial work for a builder selector which selects the builder for a given message format based on the the content type of the recieved message.static MessageFormatterMessageProcessorSelector. 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 intUtils. getMtomThreshold(MessageContext msgCtxt)static booleanUtils. isClientThreadNonBlockingPropertySet(MessageContext messageContext)this is to make is backward compatible.voidThreadContextMigrator. 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.voidThreadContextMigrator. 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 voidThreadContextMigratorUtil. performContextCleanup(String threadContextMigratorListID, MessageContext msgContext)Activate any registered ThreadContextMigrators to remove information from the context if necessary.static voidThreadContextMigratorUtil. performMigrationToContext(String threadContextMigratorListID, MessageContext msgContext)Activate any registered ThreadContextMigrators to move info from the thread of execution into the context.static voidThreadContextMigratorUtil. performMigrationToThread(String threadContextMigratorListID, MessageContext msgContext)Activate any registered ThreadContextMigrators to move context info to the thread of execution.static voidThreadContextMigratorUtil. performThreadCleanup(String threadContextMigratorListID, MessageContext msgContext)Activate any registered ThreadContextMigrators to remove information from the thread of execution if necessary.voidCallbackReceiver. receive(MessageContext msgContext)voidTargetResolver. resolveTarget(MessageContext messageContext)resolveTarget examines the MessageContext and updates the MessageContext in order to resolve the target.
-