| java.lang.Object org.apache.axis2.transport.TransportUtils
TransportUtils | public class TransportUtils (Code) | | |
createSOAPEnvelope | public static SOAPEnvelope createSOAPEnvelope(OMElement documentElement)(Code) | | |
deleteAttachments | public static void deleteAttachments(MessageContext msgContext)(Code) | | Clean up cached attachment file
Parameters: msgContext - |
getCharSetEncoding | public static String getCharSetEncoding(String contentType)(Code) | | Extracts and returns the character set encoding from the
Content-type header
Example:
Content-Type: text/xml; charset=utf-8
Parameters: contentType - |
getMessageFormatter | public static MessageFormatter getMessageFormatter(MessageContext msgContext) throws AxisFault(Code) | | 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.
Parameters: msgContext - the builder registered against the given content-type throws: AxisFault - |
isResponseWritten | public static boolean isResponseWritten(MessageContext messageContext)(Code) | | This is a helper method to get the response written flag from the RequestResponseTransport
instance.
|
setResponseWritten | public static void setResponseWritten(MessageContext messageContext, boolean responseWritten)(Code) | | This is a helper method to set the response written flag on the RequestResponseTransport
instance.
|
|
|