|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of MessageContext in org.apache.axis2 |
Methods in org.apache.axis2 that return MessageContext | |
MessageContext |
AxisFault.getFaultMessageContext()
Returns the MessageContext representation of the fault if the fault was created by providing that. |
Constructors in org.apache.axis2 with parameters of type MessageContext | |
AxisFault(org.apache.axiom.soap.SOAPFault fault,
MessageContext faultCtx)
|
|
AxisFault(java.lang.String message,
MessageContext faultMessageContext)
Create an AxisFault by providing a textual message and a MessageContext that contains the actual fault representation. |
Uses of MessageContext in org.apache.axis2.addressing |
Methods in org.apache.axis2.addressing with parameters of type MessageContext | |
static boolean |
AddressingHelper.isReplyRedirected(MessageContext messageContext)
Returns true if the ReplyTo address does not match one of the supported anonymous urls. |
static boolean |
AddressingHelper.isFaultRedirected(MessageContext messageContext)
Returns true if the FaultTo address does not match one of the supported anonymous urls. |
static boolean |
AddressingHelper.shouldSendFaultToFaultTo(MessageContext messageContext)
If the inbound FaultTo header was invalid and caused a fault, the fault should not be sent to it. |
Uses of MessageContext in org.apache.axis2.builder |
Methods in org.apache.axis2.builder with parameters of type MessageContext | |
static org.apache.axiom.soap.SOAPEnvelope |
BuilderUtil.buildsoapMessage(MessageContext messageContext,
MultipleEntryHashMap requestParameterMap,
org.apache.axiom.soap.SOAPFactory soapFactory)
|
static org.apache.axiom.om.impl.builder.StAXBuilder |
BuilderUtil.getAttachmentsBuilder(MessageContext msgContext,
java.io.InputStream inStream,
java.lang.String contentTypeString,
boolean isSOAP)
|
protected static org.apache.axiom.attachments.Attachments |
BuilderUtil.createAttachmentsMap(MessageContext msgContext,
java.io.InputStream inStream,
java.lang.String contentTypeString)
|
static Builder |
BuilderUtil.getBuilderFromSelector(java.lang.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. |
org.apache.axiom.om.OMElement |
Builder.processDocument(java.io.InputStream inputStream,
java.lang.String contentType,
MessageContext messageContext)
|
org.apache.axiom.om.OMElement |
MTOMBuilder.processDocument(java.io.InputStream inputStream,
java.lang.String contentType,
MessageContext messageContext)
|
org.apache.axiom.om.OMElement |
ApplicationXMLBuilder.processDocument(java.io.InputStream inputStream,
java.lang.String contentType,
MessageContext messageContext)
|
org.apache.axiom.om.OMElement |
MIMEBuilder.processDocument(java.io.InputStream inputStream,
java.lang.String contentType,
MessageContext msgContext)
|
org.apache.axiom.om.OMElement |
SOAPBuilder.processDocument(java.io.InputStream inputStream,
java.lang.String contentType,
MessageContext messageContext)
|
org.apache.axiom.om.OMElement |
MultipartFormDataBuilder.processDocument(java.io.InputStream inputStream,
java.lang.String contentType,
MessageContext messageContext)
|
org.apache.axiom.om.OMElement |
XFormURLEncodedBuilder.processDocument(java.io.InputStream inputStream,
java.lang.String contentType,
MessageContext messageContext)
|
Uses of MessageContext in org.apache.axis2.client |
Methods in org.apache.axis2.client that return MessageContext | |
abstract MessageContext |
OperationClient.getMessageContext(java.lang.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 | |
abstract void |
OperationClient.addMessageContext(MessageContext messageContext)
Add a message context to the client for processing. |
void |
OperationClient.complete(MessageContext msgCtxt)
To close the transport if necessary , can call this method. |
protected void |
OperationClient.setMessageID(MessageContext mc)
Create a message ID for the given message context if needed. |
protected void |
OperationClient.addReferenceParameters(MessageContext msgctx)
|
protected void |
OperationClient.prepareMessageContext(ConfigurationContext cc,
MessageContext mc)
|
protected void |
Stub.addHttpHeader(MessageContext messageContext,
java.lang.String name,
java.lang.String value)
add an http header with name and value to message context |
Uses of MessageContext in org.apache.axis2.client.async |
Methods in org.apache.axis2.client.async that return MessageContext | |
MessageContext |
AsyncResult.getResponseMessageContext()
Get the complete message context for the response. |
Constructors in org.apache.axis2.client.async with parameters of type MessageContext | |
AsyncResult(MessageContext result)
Constructor. |
Uses of MessageContext in org.apache.axis2.context |
Methods in org.apache.axis2.context that return MessageContext | |
MessageContext |
OperationContext.getMessageContext(java.lang.String messageLabel)
|
static MessageContext |
MessageContext.getCurrentMessageContext()
|
MessageContext |
MessageContext.extractCopyMessageContext()
Return a Read-Only copy of this message context that has been extracted from the object hierachy. |
static MessageContext |
ContextFactory.createMessageContext(ConfigurationContext configurationContext)
|
Methods in org.apache.axis2.context with parameters of type MessageContext | |
void |
OperationContext.addMessageContext(MessageContext msgContext)
When a new message is added to the MEPContext the logic
should be included remove the MEPContext from the table in the
EngineContext . |
void |
OperationContext.isolateMessageContext(MessageContext mc)
Isolate the specified message context object to prepare for serialization. |
void |
OperationContext.restoreMessageContext(MessageContext msg)
Restore the specified MessageContext object in the table used to hold the message contexts associated with this operation. |
void |
ConfigurationContext.fillServiceContextAndServiceGroupContext(MessageContext messageContext)
Searches for a ServiceGroupContext in the map with given id as the key. |
ServiceGroupContext |
ConfigurationContext.getServiceGroupContextFromSoapSessionTable(java.lang.String serviceGroupContextId,
MessageContext msgContext)
|
static void |
MessageContext.setCurrentMessageContext(MessageContext ctx)
|
java.io.ByteArrayOutputStream |
SelfManagedDataManager.serializeSelfManagedData(MessageContext mc)
This method is invoked when the MessageContext object is being saved. |
void |
SelfManagedDataManager.deserializeSelfManagedData(java.io.ByteArrayInputStream data,
MessageContext mc)
This method is invoked when the MessageContext object is being restored. |
void |
SelfManagedDataManager.restoreTransientData(MessageContext mc)
This method is invoked when the MessageContext object is being restored and after the deserializeSelfManagedData() method. |
Uses of MessageContext in org.apache.axis2.dataretrieval |
Methods in org.apache.axis2.dataretrieval with parameters of type MessageContext | |
Data[] |
WSDLDataLocator.getData(DataRetrievalRequest request,
MessageContext msgContext)
getData API Implement data retrieval logic for WSDL dialect |
protected Data[] |
WSDLDataLocator.outputInlineForm(MessageContext msgContext,
ServiceData[] dataList)
|
Data[] |
AxisDataLocator.getData(DataRetrievalRequest request,
MessageContext msgContext)
Retrieves and returns data based on the specified request. |
Data[] |
BaseAxisDataLocator.getData(DataRetrievalRequest request,
MessageContext msgContext)
The default Axis2 Data locator getData API Checks data information configured in ServiceData.xml for the supported output forms: inline, url, EndpointReference. |
protected Data[] |
BaseAxisDataLocator.outputInlineForm(MessageContext msgContext,
ServiceData[] serviceData)
|
protected Data[] |
BaseAxisDataLocator.outputReferenceForm(MessageContext msgContext,
ServiceData[] serviceData)
|
Data[] |
AxisDataLocatorImpl.getData(DataRetrievalRequest request,
MessageContext msgContext)
Retrieves and returns data based on the specified request. |
Uses of MessageContext in org.apache.axis2.description |
Methods in org.apache.axis2.description with parameters of type MessageContext | |
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. |
void |
InOutAxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext)
|
void |
InOnlyAxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext)
|
void |
InOnlyAxisOperation.addFaultMessageContext(MessageContext msgContext,
OperationContext opContext)
|
void |
OutOnlyAxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext)
|
void |
OutOnlyAxisOperation.addFaultMessageContext(MessageContext msgContext,
OperationContext opContext)
|
abstract void |
AxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext)
Adds a message context into an operation context. |
abstract void |
AxisOperation.addFaultMessageContext(MessageContext msgContext,
OperationContext opContext)
|
OperationContext |
AxisOperation.findForExistingOperationContext(MessageContext msgContext)
Returns as existing OperationContext related to this message if one exists. |
OperationContext |
AxisOperation.findOperationContext(MessageContext msgContext,
ServiceContext serviceContext)
Finds a MEPContext for an incoming message. |
void |
AxisOperation.registerOperationContext(MessageContext msgContext,
OperationContext operationContext)
|
void |
AxisOperation.registerMessageContext(MessageContext msgContext,
OperationContext operationContext)
|
void |
TwoChannelAxisOperation.addFaultMessageContext(MessageContext msgContext,
OperationContext opContext)
|
static TransportOutDescription |
ClientUtils.inferOutTransport(AxisConfiguration ac,
EndpointReference epr,
MessageContext msgctx)
|
static TransportInDescription |
ClientUtils.inferInTransport(AxisConfiguration ac,
Options options,
MessageContext msgCtxt)
|
void |
OutInAxisOperation.addMessageContext(MessageContext msgContext,
OperationContext opContext)
|
Uses of MessageContext in org.apache.axis2.dispatchers |
Methods in org.apache.axis2.dispatchers with parameters of type MessageContext | |
AxisOperation |
RelatesToBasedOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext)
|
abstract AxisService |
AbstractServiceDispatcher.findService(MessageContext messageContext)
Called by Axis Engine to find the service. |
Handler.InvocationResponse |
AbstractServiceDispatcher.invoke(MessageContext msgctx)
|
AxisService |
RelatesToBasedServiceDispatcher.findService(MessageContext messageContext)
|
AxisService |
RequestURIBasedServiceDispatcher.findService(MessageContext messageContext)
|
AxisService |
SOAPMessageBodyBasedServiceDispatcher.findService(MessageContext messageContext)
|
abstract AxisOperation |
AbstractOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext)
Called by Axis Engine to find the operation. |
Handler.InvocationResponse |
AbstractOperationDispatcher.invoke(MessageContext msgctx)
|
AxisOperation |
RequestURIBasedOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext)
|
AxisOperation |
ActionBasedOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext)
|
AxisOperation |
SOAPMessageBodyBasedOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext)
|
Uses of MessageContext in org.apache.axis2.engine |
Methods in org.apache.axis2.engine that return MessageContext | |
MessageContext |
AxisEngine.createFaultMessageContext(MessageContext processingContext,
java.lang.Throwable e)
Deprecated. (post 1.1 branch) |
Methods in org.apache.axis2.engine with parameters of type MessageContext | |
AxisOperation |
RequestURIBasedDispatcher.findOperation(AxisService service,
MessageContext messageContext)
|
AxisService |
RequestURIBasedDispatcher.findService(MessageContext messageContext)
|
AxisOperation |
HTTPLocationBasedDispatcher.findOperation(AxisService service,
MessageContext messageContext)
|
AxisService |
HTTPLocationBasedDispatcher.findService(MessageContext messageContext)
|
AxisOperation |
SOAPActionBasedDispatcher.findOperation(AxisService service,
MessageContext messageContext)
|
AxisService |
SOAPActionBasedDispatcher.findService(MessageContext messageContext)
|
AxisOperation |
SOAPMessageBodyBasedDispatcher.findOperation(AxisService service,
MessageContext messageContext)
|
AxisService |
SOAPMessageBodyBasedDispatcher.findService(MessageContext messageContext)
|
Handler.InvocationResponse |
Handler.invoke(MessageContext msgContext)
This method will be called on each registered handler when a message needs to be processed. |
void |
Handler.flowComplete(MessageContext msgContext)
This method will be called on each registered handler that had its invoke(...) method called during the processing of the message, once the message processing has completed. |
AxisOperation |
RequestURIOperationDispatcher.findOperation(AxisService service,
MessageContext messageContext)
|
AxisService |
RequestURIOperationDispatcher.findService(MessageContext messageContext)
|
AxisOperation |
AddressingBasedDispatcher.findOperation(AxisService service,
MessageContext messageContext)
|
AxisService |
AddressingBasedDispatcher.findService(MessageContext messageContext)
|
Handler.InvocationResponse |
AddressingBasedDispatcher.invoke(MessageContext msgctx)
|
void |
MessageReceiver.receive(MessageContext messageCtx)
|
MessageContext |
AxisEngine.createFaultMessageContext(MessageContext processingContext,
java.lang.Throwable e)
Deprecated. (post 1.1 branch) |
Handler.InvocationResponse |
AxisEngine.receive(MessageContext msgContext)
This methods represents the inflow of the Axis, this could be either at the server side or the client side. |
Handler.InvocationResponse |
AxisEngine.invoke(MessageContext msgContext,
boolean inbound,
boolean resuming)
Take the execution chain from the msgContext , and then take the current Index and invoke all the phases in the arraylist if the msgContext is pauesd then the execution will be breaked |
Handler.InvocationResponse |
AxisEngine.resumeReceive(MessageContext msgContext)
If the msgConetext is puased and try to invoke then first invoke the phase list and after the message receiver |
Handler.InvocationResponse |
AxisEngine.resumeSend(MessageContext msgContext)
To resume the invocation at the send path , this is neened since it is require to call TransportSender at the end |
Handler.InvocationResponse |
AxisEngine.receiveFault(MessageContext msgContext)
This is invoked when a SOAP Fault is received from a Other SOAP Node Receives a SOAP fault from another SOAP node. |
Handler.InvocationResponse |
AxisEngine.resume(MessageContext msgctx)
Resume processing of a message. |
void |
AxisEngine.send(MessageContext msgContext)
This methods represents the outflow of the Axis, this could be either at the server side or the client side. |
void |
AxisEngine.sendFault(MessageContext msgContext)
Sends the SOAP Fault to another SOAP node. |
void |
DispatchPhase.checkPostConditions(MessageContext msgContext)
|
abstract AxisOperation |
AbstractDispatcher.findOperation(AxisService service,
MessageContext messageContext)
Called by Axis Engine to find the operation. |
abstract AxisService |
AbstractDispatcher.findService(MessageContext messageContext)
Called by Axis Engine to find the service. |
Handler.InvocationResponse |
AbstractDispatcher.invoke(MessageContext msgctx)
|
void |
Phase.checkPostConditions(MessageContext msgContext)
|
void |
Phase.checkPreconditions(MessageContext msgContext)
|
Handler.InvocationResponse |
Phase.invoke(MessageContext msgctx)
invokes all the handlers in this Phase |
void |
Phase.flowComplete(MessageContext msgContext)
|
Handler.InvocationResponse |
InstanceDispatcher.invoke(MessageContext msgContext)
Post Condition : All the Contexts must be populated. |
Uses of MessageContext in org.apache.axis2.handlers |
Methods in org.apache.axis2.handlers with parameters of type MessageContext | |
void |
AbstractHandler.flowComplete(MessageContext msgContext)
|
Uses of MessageContext in org.apache.axis2.receivers |
Fields in org.apache.axis2.receivers declared as MessageContext | |
MessageContext |
AbstractMessageReceiver.ThreadContextDescriptor.oldMessageContext
|
Methods in org.apache.axis2.receivers with parameters of type MessageContext | |
abstract void |
AbstractInOutSyncMessageReceiver.invokeBusinessLogic(MessageContext inMessage,
MessageContext outMessage)
|
void |
AbstractInOutSyncMessageReceiver.receive(MessageContext msgContext)
|
void |
ServerCallback.handleResult(MessageContext result)
|
void |
RawXMLINOutMessageReceiver.invokeBusinessLogic(MessageContext msgContext,
MessageContext newmsgContext)
Invokes the bussiness logic invocation on the service implementation class |
void |
RawXMLINOutAsyncMessageReceiver.invokeBusinessLogic(MessageContext msgContext,
MessageContext newmsgContext)
Invokes the bussiness logic invocation on the service implementation class |
abstract void |
AbstractInOutAsyncMessageReceiver.invokeBusinessLogic(MessageContext inMessage,
MessageContext outMessage)
|
void |
AbstractInOutAsyncMessageReceiver.receive(MessageContext messageCtx)
|
abstract void |
AbstractInMessageReceiver.invokeBusinessLogic(MessageContext inMessage)
|
void |
AbstractInMessageReceiver.receive(MessageContext messageCtx)
|
protected AbstractMessageReceiver.ThreadContextDescriptor |
AbstractMessageReceiver.setThreadContext(MessageContext msgContext)
Several pieces of information need to be available to the service implementation class. |
protected java.lang.Object |
AbstractMessageReceiver.makeNewServiceObject(MessageContext msgContext)
Method makeNewServiceObject. |
org.apache.axiom.soap.SOAPFactory |
AbstractMessageReceiver.getSOAPFactory(MessageContext msgContext)
|
protected java.lang.Object |
AbstractMessageReceiver.getTheImplementationObject(MessageContext msgContext)
Method getTheImplementationObject. |
abstract void |
AbstractRobustInMessageReceiver.invokeBusinessLogic(MessageContext inMessage)
|
void |
AbstractRobustInMessageReceiver.receive(MessageContext messageCtx)
|
void |
RawXMLINOnlyMessageReceiver.invokeBusinessLogic(MessageContext msgContext)
Invokes the bussiness logic invocation on the service implementation class |
Uses of MessageContext in org.apache.axis2.transport |
Methods in org.apache.axis2.transport with parameters of type MessageContext | |
void |
RequestResponseTransport.acknowledgeMessage(MessageContext msgContext)
Notify the transport that a message should be acknowledged at this time. |
static org.apache.axiom.soap.SOAPEnvelope |
TransportUtils.createSOAPMessage(MessageContext msgContext)
|
static org.apache.axiom.soap.SOAPEnvelope |
TransportUtils.createSOAPMessage(MessageContext msgContext,
java.io.InputStream inStream,
java.lang.String contentType)
Objective of this method is to capture the SOAPEnvelope creation logic and make it a common for all the transports and to in/out flows. |
static void |
TransportUtils.writeMessage(MessageContext msgContext,
java.io.OutputStream out)
|
static MessageFormatter |
TransportUtils.getMessageFormatter(MessageContext msgContext)
Initial work for a builder selector which selects the builder for a given message format based on the the content type of the recieved message. |
static void |
TransportUtils.processContentTypeForAction(java.lang.String contentType,
MessageContext msgContext)
|
byte[] |
MessageFormatter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format)
|
void |
MessageFormatter.writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.io.OutputStream outputStream,
boolean preserve)
To support deffered writing transports as in http chunking.. |
java.lang.String |
MessageFormatter.getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
Different message formats can set their own content types Eg: JSONFormatter can set the content type as application/json |
java.net.URL |
MessageFormatter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.net.URL targetURL)
Some message formats may want to alter the target url. |
java.lang.String |
MessageFormatter.formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
|
void |
TransportSender.cleanup(MessageContext msgContext)
Clean up |
SessionContext |
TransportListener.getSessionContext(MessageContext messageContext)
To get the sessionContext transport dependent manner. |
Uses of MessageContext in org.apache.axis2.transport.http |
Methods in org.apache.axis2.transport.http that return MessageContext | |
protected MessageContext |
AxisServlet.createMessageContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean invocationType)
|
protected MessageContext |
AxisServlet.createMessageContext(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
This method assumes, that the created MessageContext will be used in only SOAP invocation. |
Methods in org.apache.axis2.transport.http with parameters of type MessageContext | |
void |
HTTPSender.send(MessageContext msgContext,
java.net.URL url,
java.lang.String soapActionString)
|
protected void |
AbstractHTTPSender.configProxyAuthentication(org.apache.commons.httpclient.HttpClient client,
TransportOutDescription proxySetting,
org.apache.commons.httpclient.HostConfiguration config,
MessageContext msgCtx)
Helper method to Proxy and NTLM authentication |
protected void |
AbstractHTTPSender.obtainHTTPHeaderInformation(org.apache.commons.httpclient.HttpMethodBase method,
MessageContext msgContext)
Collect the HTTP header information and set them in the message context |
protected void |
AbstractHTTPSender.processResponse(org.apache.commons.httpclient.HttpMethodBase httpMethod,
MessageContext msgContext)
|
abstract void |
AbstractHTTPSender.send(MessageContext msgContext,
java.net.URL url,
java.lang.String soapActionString)
|
protected org.apache.commons.httpclient.HostConfiguration |
AbstractHTTPSender.getHostConfiguration(org.apache.commons.httpclient.HttpClient client,
MessageContext msgCtx,
java.net.URL targetURL)
getting host configuration to support standard http/s, proxy and NTLM support |
protected boolean |
AbstractHTTPSender.isAuthenticationEnabled(MessageContext msgCtx)
|
protected void |
AbstractHTTPSender.setAuthenticationInfo(org.apache.commons.httpclient.HttpClient agent,
MessageContext msgCtx,
org.apache.commons.httpclient.HostConfiguration config)
|
protected void |
AbstractHTTPSender.getTimeoutValues(MessageContext msgContext)
This is used to get the dynamically set time out values from the message context. |
protected org.apache.commons.httpclient.HttpClient |
AbstractHTTPSender.getHttpClient(MessageContext msgContext)
|
protected void |
AbstractHTTPSender.executeMethod(org.apache.commons.httpclient.HttpClient httpClient,
MessageContext msgContext,
java.net.URL url,
org.apache.commons.httpclient.HttpMethod method)
|
void |
AbstractHTTPSender.addCustomHeaders(org.apache.commons.httpclient.HttpMethod method,
MessageContext msgContext)
|
byte[] |
XFormURLEncodedFormatter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format)
|
void |
XFormURLEncodedFormatter.writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.io.OutputStream outputStream,
boolean preserve)
|
java.lang.String |
XFormURLEncodedFormatter.getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
|
java.net.URL |
XFormURLEncodedFormatter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.net.URL targetURL)
|
java.lang.String |
XFormURLEncodedFormatter.formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
|
void |
HTTPWorker.service(AxisHttpRequest request,
AxisHttpResponse response,
MessageContext msgContext)
|
void |
CommonsHTTPTransportSender.cleanup(MessageContext msgContext)
|
Handler.InvocationResponse |
CommonsHTTPTransportSender.invoke(MessageContext msgContext)
|
byte[] |
MultipartFormDataFormatter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format)
|
void |
MultipartFormDataFormatter.writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.io.OutputStream outputStream,
boolean preserve)
To support deffered writing transports as in http chunking.. |
java.lang.String |
MultipartFormDataFormatter.getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
Different message formats can set their own content types Eg: JSONFormatter can set the content type as application/json |
java.net.URL |
MultipartFormDataFormatter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.net.URL targetURL)
Some message formats may want to alter the target url. |
java.lang.String |
MultipartFormDataFormatter.formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
|
static boolean |
HTTPTransportUtils.doWriteMTOM(MessageContext msgContext)
|
static boolean |
HTTPTransportUtils.doWriteSwA(MessageContext msgContext)
|
static java.lang.String |
HTTPTransportUtils.getCharSetEncoding(MessageContext msgContext)
Utility method to query CharSetEncoding. |
static boolean |
HTTPTransportUtils.processHTTPGetRequest(MessageContext msgContext,
java.io.OutputStream out,
java.lang.String soapAction,
java.lang.String requestURI,
ConfigurationContext configurationContext,
java.util.Map requestParameters)
Deprecated. use RESTUtil.processURLRequest(MessageContext msgContext, OutputStream out, String contentType) instead |
static Handler.InvocationResponse |
HTTPTransportUtils.processHTTPPostRequest(MessageContext msgContext,
java.io.InputStream in,
java.io.OutputStream out,
java.lang.String contentType,
java.lang.String soapActionHeader,
java.lang.String requestURI)
|
static java.io.InputStream |
HTTPTransportUtils.handleGZip(MessageContext msgContext,
java.io.InputStream in)
|
static boolean |
HTTPTransportUtils.isDoingREST(MessageContext msgContext)
|
protected void |
AxisServlet.handleFault(MessageContext msgContext,
java.io.OutputStream out,
AxisFault e)
|
SessionContext |
AxisServlet.getSessionContext(MessageContext messageContext)
Transport session management. |
void |
AxisServlet.ServletRequestResponseTransport.acknowledgeMessage(MessageContext msgContext)
|
void |
SOAPMessageFormatter.writeTo(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
java.io.OutputStream out,
boolean preserve)
|
byte[] |
SOAPMessageFormatter.getBytes(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format)
|
java.lang.String |
SOAPMessageFormatter.getContentType(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapActionString)
|
java.lang.String |
SOAPMessageFormatter.formatSOAPAction(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapActionString)
|
java.net.URL |
SOAPMessageFormatter.getTargetAddress(MessageContext msgCtxt,
org.apache.axiom.om.OMOutputFormat format,
java.net.URL targetURL)
|
SessionContext |
SimpleHTTPServer.getSessionContext(MessageContext messageContext)
|
byte[] |
ApplicationXMLFormatter.getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format)
|
void |
ApplicationXMLFormatter.writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.io.OutputStream outputStream,
boolean preserve)
|
java.lang.String |
ApplicationXMLFormatter.getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
|
java.net.URL |
ApplicationXMLFormatter.getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.net.URL targetURL)
|
java.lang.String |
ApplicationXMLFormatter.formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
|
Constructors in org.apache.axis2.transport.http with parameters of type MessageContext | |
RESTRequestEntity(org.apache.axiom.om.OMElement element,
boolean chunked,
MessageContext msgCtxt,
java.lang.String charSetEncoding,
java.lang.String soapActionString,
org.apache.axiom.om.OMOutputFormat format)
|
|
AxisRequestEntity(MessageFormatter messageFormatter,
MessageContext msgContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction,
boolean chunked,
boolean isAllowedRetry)
Method calls to this request entity are delegated to the following Axis2 message formatter object. |
Uses of MessageContext in org.apache.axis2.transport.http.server |
Methods in org.apache.axis2.transport.http.server with parameters of type MessageContext | |
void |
Worker.service(AxisHttpRequest request,
AxisHttpResponse response,
MessageContext msgContext)
|
Uses of MessageContext in org.apache.axis2.transport.http.util |
Methods in org.apache.axis2.transport.http.util with parameters of type MessageContext | |
static java.net.URL |
URLTemplatingUtil.appendQueryParameters(MessageContext messageContext,
java.net.URL url)
Appends Query parameters to the URL |
static java.net.URL |
URLTemplatingUtil.getTemplatedURL(java.net.URL targetURL,
MessageContext messageContext,
boolean detach)
Returns the templated URL given the original URL |
boolean |
SOAPUtil.processPostRequest(MessageContext msgContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated. Handle SOAP Messages |
static Handler.InvocationResponse |
RESTUtil.processXMLRequest(MessageContext msgContext,
java.io.InputStream in,
java.io.OutputStream out,
java.lang.String contentType)
|
static Handler.InvocationResponse |
RESTUtil.processURLRequest(MessageContext msgContext,
java.io.OutputStream out,
java.lang.String contentType)
|
Uses of MessageContext in org.apache.axis2.transport.jms |
Methods in org.apache.axis2.transport.jms with parameters of type MessageContext | |
static java.lang.String |
JMSUtils.getContentType(MessageContext msgCtx)
Get the context type from the Axis MessageContext |
static org.apache.axiom.soap.SOAPEnvelope |
JMSUtils.getSOAPEnvelope(javax.jms.Message message,
MessageContext msgContext,
java.io.InputStream in)
Return a SOAPEnvelope created from the given JMS Message and Axis MessageContext, and the InputStream into the message |
Handler.InvocationResponse |
JMSSender.invoke(MessageContext msgContext)
Performs the actual sending of the JMS message |
void |
JMSSender.cleanup(MessageContext msgContext)
|
SessionContext |
JMSListener.getSessionContext(MessageContext messageContext)
|
Uses of MessageContext in org.apache.axis2.transport.local |
Methods in org.apache.axis2.transport.local with parameters of type MessageContext | |
void |
LocalResponder.cleanup(MessageContext msgContext)
|
Handler.InvocationResponse |
LocalResponder.invoke(MessageContext msgContext)
Method invoke |
void |
LocalTransportSender.cleanup(MessageContext msgContext)
|
Handler.InvocationResponse |
LocalTransportSender.invoke(MessageContext msgContext)
Method invoke |
void |
LocalTransportSender.finalizeSendWithToAddress(MessageContext msgContext,
java.io.OutputStream out)
|
Uses of MessageContext in org.apache.axis2.transport.mail |
Methods in org.apache.axis2.transport.mail with parameters of type MessageContext | |
void |
SynchronousMailListener.sendReceive(MessageContext msgContext,
java.lang.String msgId)
|
void |
SimpleMailListener.initFromRuntime(java.util.Properties properties,
MessageContext msgContext)
|
SessionContext |
SimpleMailListener.getSessionContext(MessageContext messageContext)
|
void |
MailTransportSender.cleanup(MessageContext msgContext)
|
void |
MailTransportSender.sendMimeMessage(MessageContext msgContext)
|
void |
MailTransportSender.writeMimeMessage(MessageContext msgContext,
java.io.OutputStream out)
|
Handler.InvocationResponse |
MailTransportSender.invoke(MessageContext msgContext)
|
void |
EMailSender.setMessageContext(MessageContext messageContext)
|
Uses of MessageContext in org.apache.axis2.transport.tcp |
Methods in org.apache.axis2.transport.tcp with parameters of type MessageContext | |
SessionContext |
TCPServer.getSessionContext(MessageContext messageContext)
|
void |
TCPTransportSender.cleanup(MessageContext msgContext)
|
Handler.InvocationResponse |
TCPTransportSender.invoke(MessageContext msgContext)
Method invoke |
protected java.io.OutputStream |
TCPTransportSender.openTheConnection(EndpointReference toURL,
MessageContext msgContext)
|
Uses of MessageContext in org.apache.axis2.util |
Methods in org.apache.axis2.util that return MessageContext | |
static MessageContext |
Utils.createOutMessageContext(MessageContext inMessageContext)
Deprecated. (post1.1branch) |
static MessageContext |
MessageContextBuilder.createOutMessageContext(MessageContext inMessageContext)
Creates a MessageContext for use with a non-fault response based on an request MessageContext |
static MessageContext |
MessageContextBuilder.createFaultMessageContext(MessageContext processingContext,
java.lang.Throwable e)
This method is called to handle any error that occurs at inflow or outflow. |
Methods in org.apache.axis2.util with parameters of type MessageContext | |
void |
CallbackReceiver.receive(MessageContext messageCtx)
|
void |
ThreadContextMigrator.migrateContextToThread(MessageContext messageContext)
This method will be invoked when the processing of the message is guaranteed to be on the thread of execution that will be used in user space. |
void |
ThreadContextMigrator.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. |
void |
ThreadContextMigrator.migrateThreadToContext(MessageContext messageContext)
This method will be invoked when the processing of the message is guaranteed to still be on the thread of execution that was used in user space. |
void |
ThreadContextMigrator.cleanupContext(MessageContext messageContext)
This method will be invoked when the processing of the message is guaranteed to be on the thread of execution that will be used in user space, after all processing has completed (i.e. |
static MessageContext |
Utils.createOutMessageContext(MessageContext inMessageContext)
Deprecated. (post1.1branch) |
static boolean |
Utils.isExplicitlyTrue(MessageContext messageContext,
java.lang.String propertyName)
|
static AxisFault |
Utils.getInboundFaultFromMessageContext(MessageContext messageContext)
Get an AxisFault object to represent the SOAPFault in the SOAPEnvelope attached to the provided MessageContext. |
static void |
ThreadContextMigratorUtil.performMigrationToThread(java.lang.String threadContextMigratorListID,
MessageContext msgContext)
Activate any registered ThreadContextMigrators to move context info to the thread of execution. |
static void |
ThreadContextMigratorUtil.performThreadCleanup(java.lang.String threadContextMigratorListID,
MessageContext msgContext)
Activate any registered ThreadContextMigrators to remove information from the thread of execution if necessary. |
static void |
ThreadContextMigratorUtil.performMigrationToContext(java.lang.String threadContextMigratorListID,
MessageContext msgContext)
Activate any registered ThreadContextMigrators to move info from the thread of execution into the context. |
static void |
ThreadContextMigratorUtil.performContextCleanup(java.lang.String threadContextMigratorListID,
MessageContext msgContext)
Activate any registered ThreadContextMigrators to remove information from the context if necessary. |
static MessageContext |
MessageContextBuilder.createOutMessageContext(MessageContext inMessageContext)
Creates a MessageContext for use with a non-fault response based on an request MessageContext |
static MessageContext |
MessageContextBuilder.createFaultMessageContext(MessageContext processingContext,
java.lang.Throwable e)
This method is called to handle any error that occurs at inflow or outflow. |
void |
TargetResolver.resolveTarget(MessageContext messageContext)
resolveTarget examines the MessageContext and updates the MessageContext in order to resolve the target. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |