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(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 OMElementAddressingFaultsHelper. getDetailElementForAddressingFault(MessageContext messageContext, 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 SOAPEnvelopeBuilderUtil. buildsoapMessage(MessageContext messageContext, MultipleEntryHashMap requestParameterMap, SOAPFactory soapFactory)static AttachmentsBuilderUtil. createAttachments(MessageContext msgContext, InputStream inStream, String contentTypeString, boolean fileCacheForAttachments, String attachmentRepoDir, String attachmentSizeThreshold, int contentLength)static AttachmentsBuilderUtil. createAttachmentsMap(MessageContext msgContext, InputStream inStream, String contentTypeString)static BuilderBuilderUtil. getBuilderFromSelector(String type, MessageContext msgContext)Deprecated.static booleanBuilderUtil. isAttachmentsCacheEnabled(MessageContext msgContext)OMElementApplicationXMLBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)OMElementBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)Process a message.OMElementDataSourceBuilder. processDocument(InputStream inputStream, String contentType, MessageContext msgContext)OMElementMIMEBuilder. processDocument(InputStream inputStream, String contentType, MessageContext msgContext)OMElementMTOMBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)OMElementMultipartFormDataBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)OMElementSOAPBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)OMElementXFormURLEncodedBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)OMElementMIMEAwareBuilder. processMIMEMessage(Attachments attachments, String contentType, MessageContext messageContext)Process a MIME multipart message and initialize the message context.OMElementMTOMBuilder. processMIMEMessage(Attachments attachments, String contentType, MessageContext messageContext)OMElementSOAPBuilder. 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 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 SOAPEnvelopeMessageExternalizeUtils. readExternal(ObjectInput in, MessageContext mc, String correlationIDString)Read the Messagestatic voidMessageExternalizeUtils. 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 MessageContextAttachmentContext. getMessageContext()MessageContextJAXBDSContext. getMessageContext()MessageContextMessageContextAttachmentContext. getMessageContext()Methods in org.apache.axis2.datasource.jaxb with parameters of type MessageContext Modifier and Type Method Description voidJAXBDSContext. 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 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.fastinfoset
Methods in org.apache.axis2.fastinfoset with parameters of type MessageContext Modifier and Type Method Description StringFastInfosetMessageFormatter. formatSOAPAction(MessageContext messageContext, OMOutputFormat format, String soapAction)Fast Infoset message formatter doesn't need to handle SOAP.StringFastInfosetPOXMessageFormatter. formatSOAPAction(MessageContext messageContext, OMOutputFormat format, String soapAction)Plain Fast Infoset message formatter doesn't need to handle SOAP.StringFastInfosetMessageFormatter. getContentType(MessageContext messageContext, OMOutputFormat format, String soapAction)Returns the content typeStringFastInfosetPOXMessageFormatter. getContentType(MessageContext messageContext, OMOutputFormat format, String soapAction)Returns the content typeURLFastInfosetMessageFormatter. getTargetAddress(MessageContext messageContext, OMOutputFormat format, URL targetURL)Returns the target address to send the response FIXME This is very HTTP specific.URLFastInfosetPOXMessageFormatter. getTargetAddress(MessageContext messageContext, OMOutputFormat format, URL targetURL)Returns the target address to send the response FIXME This is very HTTP specific.OMElementFastInfosetBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)Returns a OMElement handler to the document element of the Fast Infoset message.OMElementFastInfosetPOXBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)Returns a OMElement handler to the document element of the Fast Infoset message.voidFastInfosetMessageFormatter. writeTo(MessageContext messageContext, OMOutputFormat format, OutputStream outputStream, boolean preserve)Write the SOAP envelop to the given OutputStream.voidFastInfosetPOXMessageFormatter. 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 StringBinaryFormatter. formatSOAPAction(MessageContext messageContext, OMOutputFormat format, String soapAction)StringMessageFormatterExAdapter. formatSOAPAction(MessageContext messageContext, OMOutputFormat format, String soapAction)StringPlainTextFormatter. formatSOAPAction(MessageContext messageContext, OMOutputFormat format, String soapAction)StringBinaryFormatter. getContentType(MessageContext messageContext, OMOutputFormat format, String soapAction)StringMessageFormatterExAdapter. getContentType(MessageContext messageContext, OMOutputFormat format, String soapAction)StringPlainTextFormatter. getContentType(MessageContext messageContext, OMOutputFormat format, String soapAction)DataSourceBinaryFormatter. getDataSource(MessageContext messageContext, OMOutputFormat format, String soapAction)DataSourceMessageFormatterEx. getDataSource(MessageContext messageContext, OMOutputFormat format, String soapAction)Get the formatted message as aDataSourceobject.DataSourceMessageFormatterExAdapter. getDataSource(MessageContext messageContext, OMOutputFormat format, String soapAction)DataSourcePlainTextFormatter. getDataSource(MessageContext messageContext, OMOutputFormat format, String soapAction)URLBinaryFormatter. getTargetAddress(MessageContext messageContext, OMOutputFormat format, URL targetURL)URLMessageFormatterExAdapter. getTargetAddress(MessageContext messageContext, OMOutputFormat format, URL targetURL)URLPlainTextFormatter. getTargetAddress(MessageContext msgCtxt, OMOutputFormat format, URL targetURL)OMElementBinaryBuilder. processDocument(InputStream inputStream, String contentType, MessageContext msgContext)OMElementBinaryBuilder. processDocument(DataSource dataSource, String contentType, MessageContext msgContext)OMElementDataSourceMessageBuilder. processDocument(DataSource dataSource, String contentType, MessageContext messageContext)OMElementPlainTextBuilder. processDocument(InputStream inputStream, String contentType, MessageContext msgContext)OMElementPlainTextBuilder. processDocument(Reader reader, String contentType, MessageContext msgContext)OMElementPlainTextBuilder. processDocument(String content, String contentType, MessageContext msgContext)OMElementPlainTextBuilder. processDocument(DataSource dataSource, String contentType, MessageContext msgContext)OMElementTextMessageBuilder. processDocument(Reader reader, String contentType, MessageContext messageContext)OMElementTextMessageBuilder. processDocument(String content, String contentType, MessageContext messageContext)OMElementTextMessageBuilderAdapter. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)OMElementTextMessageBuilderAdapter. processDocument(Reader reader, String contentType, MessageContext messageContext)OMElementTextMessageBuilderAdapter. processDocument(String content, String contentType, MessageContext messageContext)voidBinaryFormatter. writeTo(MessageContext messageContext, OMOutputFormat format, OutputStream outputStream, boolean preserve)voidMessageFormatterExAdapter. writeTo(MessageContext messageContext, OMOutputFormat format, OutputStream outputStream, boolean preserve)voidPlainTextFormatter. 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.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.handlers.addressing
Methods in org.apache.axis2.handlers.addressing with parameters of type MessageContext Modifier and Type Method Description Handler.InvocationResponseAddressingInHandler. doInvoke(MessageContext msgContext)Handler.InvocationResponseAddressingOutHandler. doInvoke(MessageContext msgContext)Handler.InvocationResponseAddressingInFaultHandler. invoke(MessageContext msgContext)Handler.InvocationResponseAddressingValidationHandler. invoke(MessageContext msgContext)booleanAddressingInHandler. shouldInvoke(MessageContext msgContext)booleanAddressingOutHandler. 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.InvocationResponseSOAPMonitorHandler. invoke(MessageContext messageContext)Process and SOAP messagevoidSOAPMonitorHandler. 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 voidEndpointContextMapMigrator. cleanupContext(MessageContext messageContext)voidEndpointContextMapMigrator. cleanupThread(MessageContext messageContext)voidEndpointContextMapMigrator. migrateContextToThread(MessageContext messageContext)voidEndpointContextMapMigrator. 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 booleanClientUtils. 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 MessageContextAsyncUtils. createJAXWSMessageContext(MessageContext mc)voidCallbackFuture. onComplete(MessageContext mc)voidPollingFuture. onComplete(MessageContext msgContext)voidCallbackFuture. onFault(MessageContext msgContext)voidPollingFuture. onFault(MessageContext msgContext)voidCallbackFuture. onMessage(MessageContext msgContext)voidPollingFuture. 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.InvocationResponseDispatchOperationHandler. 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 booleanContextUtils. 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 MessageContextMessageContext. 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.InvocationResponseMustUnderstandChecker. doInvoke(MessageContext msgContext)AxisOperationGenericProviderDispatcher. findOperation(AxisService service, MessageContext messageContext)AxisOperationMustUnderstandValidationDispatcher. findOperation(AxisService service, MessageContext messageContext)AxisServiceGenericProviderDispatcher. findService(MessageContext messageContext)AxisServiceMustUnderstandValidationDispatcher. findService(MessageContext messageContext)static ArrayListMustUnderstandUtils. getHeaderParamaterList(MessageContext msgContext)Handler.InvocationResponseMustUnderstandValidationDispatcher. invoke(MessageContext msgctx)static voidMustUnderstandUtils. markUnderstoodHeaderParameters(MessageContext msgContext)Mark all headers for JAXWS SEI method paramaters as understood.booleanMustUnderstandChecker. 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 voidHandlerUtils. 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 booleanHandlerUtils. 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 voidUnmarshalMessageContextListener. attachEnvelopeEvent(MessageContext mc)voidUnmarshalMessageContextListener. 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 MessageContextMessageAttachmentContext. 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 MessageContextJAXBBlockContext. 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 MessageMessageUtils. getMessageFromMessageContext(MessageContext msgContext)Create a JAX-WS Message from the information on an Axis 2 Message Contextstatic voidMessageUtils. 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 ClassLoaderJAXWSMessageReceiver. getCachedClassLoader(MessageContext msgContext)static booleanEndpointController. isOneWay(MessageContext mc)voidJAXWSMessageReceiver. 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 StringDataSourceFormatter. formatSOAPAction(MessageContext messageContext, OMOutputFormat format, String soapAction)StringDataSourceFormatter. getContentType(MessageContext messageContext, OMOutputFormat format, String soapAction)URLDataSourceFormatter. getTargetAddress(MessageContext messageContext, OMOutputFormat format, URL targetURL)voidDataSourceFormatter. 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 StringAbstractJSONMessageFormatter. formatSOAPAction(MessageContext msgCtxt, OMOutputFormat format, String soapActionString)StringAbstractJSONMessageFormatter. getContentType(MessageContext msgCtxt, OMOutputFormat format, String soapActionString)protected abstract AbstractJSONDataSourceAbstractJSONOMBuilder. getDataSource(Reader jsonReader, MessageContext messageContext)protected AbstractJSONDataSourceJSONBadgerfishOMBuilder. getDataSource(Reader jsonReader, MessageContext messageContext)protected AbstractJSONDataSourceJSONOMBuilder. getDataSource(Reader jsonReader, MessageContext messageContext)protected abstract XMLStreamWriterAbstractJSONMessageFormatter. getJSONWriter(Writer writer, MessageContext messageContext)protected XMLStreamWriterJSONBadgerfishMessageFormatter. getJSONWriter(Writer writer, MessageContext messageContext)protected XMLStreamWriterJSONMessageFormatter. getJSONWriter(Writer writer, MessageContext messageContext)URLAbstractJSONMessageFormatter. getTargetAddress(MessageContext msgCtxt, OMOutputFormat format, URL targetURL)OMElementAbstractJSONOMBuilder. processDocument(InputStream inputStream, String contentType, MessageContext messageContext)gives the OMSourcedElement using the incoming JSON streamvoidAbstractJSONMessageFormatter. 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 StringJsonFormatter. formatSOAPAction(MessageContext messageContext, OMOutputFormat omOutputFormat, String s)StringJsonFormatter. getContentType(MessageContext outMsgCtxt, OMOutputFormat omOutputFormat, String s)URLJsonFormatter. getTargetAddress(MessageContext messageContext, OMOutputFormat omOutputFormat, URL url)Handler.InvocationResponseJSONMessageHandler. invoke(MessageContext msgContext)This method will be called on each registered handler when a message needs to be processed.OMElementJsonBuilder. processDocument(InputStream inputStream, String s, MessageContext messageContext)voidJsonFormatter. 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 voidJsonInOnlyRPCMessageReceiver. invokeBusinessLogic(MessageContext inMessage)voidJsonRpcMessageReceiver. invokeBusinessLogic(MessageContext inMessage, MessageContext outMessage)voidJsonRpcMessageReceiver. 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 StringJsonFormatter. formatSOAPAction(MessageContext messageContext, OMOutputFormat omOutputFormat, String s)StringJsonFormatter. getContentType(MessageContext outMsgCtxt, OMOutputFormat omOutputFormat, String s)URLJsonFormatter. getTargetAddress(MessageContext messageContext, OMOutputFormat omOutputFormat, URL url)Handler.InvocationResponseJSONMessageHandler. invoke(MessageContext msgContext)This method will be called on each registered handler when a message needs to be processed.OMElementJsonBuilder. processDocument(InputStream inputStream, String s, MessageContext messageContext)voidJsonFormatter. 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 voidJsonInOnlyRPCMessageReceiver. invokeBusinessLogic(MessageContext inMessage)voidJsonRpcMessageReceiver. invokeBusinessLogic(MessageContext inMessage, MessageContext outMessage)voidJsonRpcMessageReceiver. 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 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 OMElementTransportUtils. createDocumentElement(String contentType, Builder builder, MessageContext msgContext, InputStream inStream)static OMElementTransportUtils. createDocumentElement(String contentType, MessageContext msgContext, InputStream inStream)static SOAPEnvelopeTransportUtils. createSOAPMessage(MessageContext msgContext)static SOAPEnvelopeTransportUtils. createSOAPMessage(MessageContext msgContext, boolean detach)This method will create a SOAPEnvelope based on the InputStream stored on the MessageContext.static 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 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, OMOutputFormat format, String soapAction)static StringTransportUtils. getCharSetEncoding(MessageContext msgContext)Utility method to query CharSetEncoding.StringMessageFormatter. 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 StringTransportUtils. getContentType(String contentType, MessageContext msgContext)SessionContextTransportListener. getSessionContext(MessageContext messageContext)To get the sessionContext transport dependent manner.URLMessageFormatter. getTargetAddress(MessageContext messageContext, 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, 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, OMOutputFormat format, String soapAction)StringMultipartFormDataFormatter. formatSOAPAction(MessageContext messageContext, OMOutputFormat format, String soapAction)StringSOAPMessageFormatter. formatSOAPAction(MessageContext msgCtxt, OMOutputFormat format, String soapActionString)StringXFormURLEncodedFormatter. formatSOAPAction(MessageContext messageContext, OMOutputFormat format, String soapAction)StringApplicationXMLFormatter. getContentType(MessageContext messageContext, OMOutputFormat format, String soapAction)StringMultipartFormDataFormatter. 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/jsonStringSOAPMessageFormatter. getContentType(MessageContext msgCtxt, OMOutputFormat format, String soapActionString)StringXFormURLEncodedFormatter. getContentType(MessageContext messageContext, OMOutputFormat format, String soapAction)URLApplicationXMLFormatter. getTargetAddress(MessageContext messageContext, OMOutputFormat format, URL targetURL)URLMultipartFormDataFormatter. getTargetAddress(MessageContext messageContext, OMOutputFormat format, URL targetURL)Some message formats may want to alter the target url.URLSOAPMessageFormatter. getTargetAddress(MessageContext msgCtxt, OMOutputFormat format, URL targetURL)URLXFormURLEncodedFormatter. getTargetAddress(MessageContext messageContext, OMOutputFormat format, URL targetURL)voidApplicationXMLFormatter. writeTo(MessageContext messageContext, OMOutputFormat format, OutputStream outputStream, boolean preserve)voidMultipartFormDataFormatter. writeTo(MessageContext messageContext, OMOutputFormat format, OutputStream outputStream, boolean preserve)voidSOAPMessageFormatter. writeTo(MessageContext msgCtxt, OMOutputFormat format, OutputStream out, boolean preserve)voidXFormURLEncodedFormatter. 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 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.mex
Methods in org.apache.axis2.mex with parameters of type MessageContext Modifier and Type Method Description voidMexMessageReceiver. invokeBusinessLogic(MessageContext msgContext, MessageContext newmsgContext)Process GetMetadata requestMetadataMexMessageReceiver. 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.InvocationResponseMTOMInHandler. invoke(MessageContext msgCtx)Checks if the message should be MTOMised.Handler.InvocationResponseMTOMOutHandler. invoke(MessageContext msgCtx)Checks the effective policy set and based on it theenableMTOMis set to the appropriate value. E.g. if the policy states that MTOM isoptionalthen theenableMTOMis 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 voidPingResponse. initPingResponse(MessageContext msgContext)voidPingMessageReceiver. 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 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.rpc.receivers
Methods in org.apache.axis2.rpc.receivers with parameters of type MessageContext Modifier and Type Method Description voidRPCInOnlyMessageReceiver. invokeBusinessLogic(MessageContext inMessage)protected voidRPCInOutAsyncMessageReceiver. invokeBusinessLogic(MessageContext messageCtx)voidRPCInOutAsyncMessageReceiver. 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 forvoidRPCMessageReceiver. 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 ObjectRPCUtil. invokeServiceClass(AxisMessage inAxisMessage, Method method, Object implObject, String messageNameSpace, OMElement methodElement, MessageContext inMessage)static voidRPCUtil. processResonseAsDocLitBare(Object resObject, AxisService service, Method method, SOAPEnvelope envelope, SOAPFactory fac, OMNamespace ns, OMElement bodyContent, MessageContext outMessage)static voidRPCUtil. processResonseAsDocLitBare(Object resObject, AxisService service, SOAPEnvelope envelope, SOAPFactory fac, OMNamespace ns, OMElement bodyContent, MessageContext outMessage)static voidRPCUtil. 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 ObjectEJB3InOnlyMessageReceiver. makeNewServiceObject(MessageContext msgContext)protected ObjectEJB3MessageReceiver. makeNewServiceObject(MessageContext msgContext)protected static ObjectEJB3Util. makeNewServiceObject(MessageContext msgContext)Return a object which implements the service.protected ObjectEJBInOnlyMessageReceiver. makeNewServiceObject(MessageContext msgContext)protected ObjectEJBInOutAsyncMessageReceiver. makeNewServiceObject(MessageContext msgContext)Deprecated.protected ObjectEJBMessageReceiver. makeNewServiceObject(MessageContext msgContext)protected static ObjectEJBUtil. makeNewServiceObject(MessageContext msgContext)Return a object which implements the service.voidEJBInOutAsyncMessageReceiver. 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.InvocationResponseUnderstandAllHeadersHandler. invoke(MessageContext msgContext) -
Uses of MessageContext in org.apache.axis2.scripting
Subclasses of MessageContext in org.apache.axis2.scripting Modifier and Type Class Description classScriptMessageContextScriptMessageContext 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.BSFEngineScriptReceiver. getBSFEngine(MessageContext mc)Gets the BSFEngine for the script service.protected org.apache.bsf.BSFEngineScriptReceiver. 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.voidScriptReceiver. 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 MessageContextAbstractTransportListener. createMessageContext()Create a new axis MessageContext for an incoming message through this transportMessageContextProtocolEndpoint. createMessageContext()MessageContextAbstractTransportSender. 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 voidAbstractTransportSender. cleanup(MessageContext msgContext)MessageContextAbstractTransportSender. createResponseMessageContext(MessageContext outMsgCtx)Create a new axis MessageContext for an incoming response message through this transport, for the given outgoing messagestatic MessageFormatterBaseUtils. getMessageFormatter(MessageContext msgContext)Get the MessageFormatter for the given message.static OMOutputFormatBaseUtils. getOMOutputFormat(MessageContext msgContext)Get the OMOutput format for the given messageSessionContextAbstractTransportListener. getSessionContext(MessageContext messageContext)voidAbstractTransportListener. handleIncomingMessage(MessageContext msgCtx, Map trpHeaders, String soapAction, String contentType)Process a new incoming message through the axis enginevoidAbstractTransportSender. handleIncomingMessage(MessageContext msgCtx, Map trpHeaders, String soapAction, String contentType)Process a new incoming message (Response) through the axis enginevoidMetricsCollector. incrementBytesReceived(MessageContext mc, long size)voidMetricsCollector. incrementBytesSent(MessageContext mc, long size)voidMetricsCollector. incrementFaultsReceiving(int errorCode, MessageContext mc)voidMetricsCollector. incrementFaultsSending(int errorCode, MessageContext mc)voidMetricsCollector. incrementMessagesReceived(MessageContext mc)voidMetricsCollector. incrementMessagesSent(MessageContext mc)voidMetricsCollector. incrementTimeoutsReceiving(MessageContext mc)voidMetricsCollector. incrementTimeoutsSending(MessageContext mc)Handler.InvocationResponseAbstractTransportSender. invoke(MessageContext msgContext)voidMetricsCollector. notifyReceivedMessageSize(MessageContext mc, long size)voidMetricsCollector. notifySentMessageSize(MessageContext mc, long size)voidMetricsCollector. reportResponseCode(MessageContext mc, int respCode)abstract voidAbstractTransportSender. sendMessage(MessageContext msgCtx, String targetEPR, OutTransportInfo outTransportInfo)voidSynchronousCallback. setInMessageContext(MessageContext inMessageContext)protected booleanAbstractTransportSender. 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 voidURLEndpoint. 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 MessageContextAxisServlet.RestRequestProcessor. messageContextMethods in org.apache.axis2.transport.http that return MessageContext Modifier and Type Method Description protected MessageContextAxisServlet. 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 MessageContextAxisServlet. 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 voidAxisServlet.ServletRequestResponseTransport. acknowledgeMessage(MessageContext msgContext)protected abstract RequestHTTPSender. createRequest(MessageContext msgContext, String methodName, URL url, AxisRequestEntity requestEntity)Start a new HTTP request.SessionContextAxisServletListener. getSessionContext(MessageContext messageContext)SessionContextSimpleHTTPServer. getSessionContext(MessageContext messageContext)protected voidAxisServlet. handleFault(MessageContext msgContext, OutputStream out, AxisFault e)static InputStreamHTTPTransportUtils. handleGZip(MessageContext msgContext, InputStream in)static intHTTPTransportUtils. initializeMessageContext(MessageContext msgContext, String soapActionHeader, String requestURI, String contentType)Handler.InvocationResponseAbstractHTTPTransportSender. invoke(MessageContext msgContext)static booleanHTTPTransportUtils. 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.InvocationResponseHTTPTransportUtils. processHTTPPostRequest(MessageContext msgContext, InputStream in, OutputStream out, String contentType, String soapActionHeader, String requestURI)static Handler.InvocationResponseHTTPTransportUtils. processHTTPPostRequest(MessageContext msgContext, InputStream in, OutputStream out, String contentType, Builder builder, String soapActionHeader, String requestURI)voidHTTPSender. send(MessageContext msgContext, URL url, String soapActionString)voidHTTPWorker. 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 voidHTTPClient4TransportSender. cleanup(MessageContext msgContext)static voidHTTPProxyConfigurator. 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 RequestHTTPSenderImpl. createRequest(MessageContext msgContext, String methodName, URL url, AxisRequestEntity requestEntity)static booleanHTTPProxyConfigurator. 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 voidAxisHttpService. doService(AxisHttpRequest request, AxisHttpResponse response, org.apache.http.protocol.HttpContext context, MessageContext msgContext)voidWorker. 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.InvocationResponseRESTUtil. processURLRequest(MessageContext msgContext, OutputStream out, String contentType)static Handler.InvocationResponseRESTUtil. processURLRequest(MessageContext msgContext, OutputStream out, String contentType, Builder builder)static Handler.InvocationResponseRESTUtil. processXMLRequest(MessageContext msgContext, InputStream in, OutputStream out, String contentType)static Handler.InvocationResponseRESTUtil. 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 voidJavaTransportSender. cleanup(MessageContext msgContext)Handler.InvocationResponseJavaTransportSender. 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 voidJMSUtils. loadTransportHeaders(javax.jms.Message message, MessageContext responseMsgCtx)Read the transport headers from the JMS Message and set them to the axis2 message contextvoidJMSMessageSender. send(javax.jms.Message message, MessageContext msgCtx)Perform actual send of JMS message to the Destination selectedvoidJMSSender. sendMessage(MessageContext msgCtx, String targetAddress, OutTransportInfo outTransportInfo)Performs the actual sending of the JMS messagestatic voidJMSUtils. setSOAPEnvelope(javax.jms.Message message, MessageContext msgContext, String contentType)Set the SOAPEnvelope to the Axis2 MessageContext, from the JMS Message passed instatic voidJMSUtils. 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 voidLocalResponder. cleanup(MessageContext msgContext)voidLocalTransportSender. cleanup(MessageContext msgContext)voidLocalTransportSender. finalizeSendWithToAddress(MessageContext msgContext, ByteArrayOutputStream out)Handler.InvocationResponseLocalResponder. invoke(MessageContext msgContext)Method invokeHandler.InvocationResponseLocalTransportSender. invoke(MessageContext msgContext)Method invokevoidLocalTransportReceiver. 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 voidMailRequestResponseTransport. acknowledgeMessage(MessageContext messageContext)voidMailTransportSender. 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 voidTCPTransportSender. cleanup(MessageContext msgContext)voidTCPTransportSender. 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 ObjectLogAspect. aroundProcessDocument(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint, InputStream in, String contentType, MessageContext msgContext)voidLogAspect. aroundWriteTo(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint, MessageContext msgContext, OMOutputFormat format, OutputStream out, boolean preserve)voidMessageContextValidator. 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 MessageContextAxisTestClient. 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 voidAxisTestClientConfigurator. 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 voidJettyEchoEndpoint. 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 SessionContextLifecycleFixTransportListenerProxy. 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 voidUDPSender. 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 voidXMPPSender. cleanup(MessageContext msgContext)SessionContextXMPPListener. getSessionContext(MessageContext messageContext)Handler.InvocationResponseXMPPSender. invoke(MessageContext msgContext)static voidXMPPSender. processChatMessage(MessageContext msgCtx)Process message requests that came in through chat clientsvoidXMPPSender. 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 voidXMPPClientResponseManager. 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 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. when the particular processing of a message is unwinding.)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. when the particular processing of a message is unwinding.)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. content-type to builder mapping can be specified through the Axis2.xml.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.
-