org.apache.axis2.transport.http
Class HTTPTransportUtils
java.lang.Object
org.apache.axis2.transport.http.HTTPTransportUtils
- public class HTTPTransportUtils
- extends Object
Method Summary |
static boolean |
checkEnvelopeForOptimise(org.apache.ws.commons.soap.SOAPEnvelope envelope)
|
static org.apache.ws.commons.soap.SOAPEnvelope |
createEnvelopeFromGetRequest(String requestUrl,
Map map,
ConfigurationContext configurationContext)
|
static boolean |
doWriteMTOM(MessageContext msgContext)
|
static boolean |
isDoingREST(MessageContext msgContext)
|
static boolean |
processHTTPGetRequest(MessageContext msgContext,
InputStream in,
OutputStream out,
String contentType,
String soapAction,
String requestURI,
ConfigurationContext configurationContext,
Map requestParameters)
|
static void |
processHTTPPostRequest(MessageContext msgContext,
InputStream in,
OutputStream out,
String contentType,
String soapActionHeader,
String requestURI)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTPTransportUtils
public HTTPTransportUtils()
checkEnvelopeForOptimise
public static boolean checkEnvelopeForOptimise(org.apache.ws.commons.soap.SOAPEnvelope envelope)
createEnvelopeFromGetRequest
public static org.apache.ws.commons.soap.SOAPEnvelope createEnvelopeFromGetRequest(String requestUrl,
Map map,
ConfigurationContext configurationContext)
throws AxisFault
- Throws:
AxisFault
doWriteMTOM
public static boolean doWriteMTOM(MessageContext msgContext)
processHTTPGetRequest
public static boolean processHTTPGetRequest(MessageContext msgContext,
InputStream in,
OutputStream out,
String contentType,
String soapAction,
String requestURI,
ConfigurationContext configurationContext,
Map requestParameters)
throws AxisFault
- Throws:
AxisFault
processHTTPPostRequest
public static void processHTTPPostRequest(MessageContext msgContext,
InputStream in,
OutputStream out,
String contentType,
String soapActionHeader,
String requestURI)
throws AxisFault
- Throws:
AxisFault
isDoingREST
public static boolean isDoingREST(MessageContext msgContext)