org.apache.axis2.transport.http
Class HTTPTransportUtils

java.lang.Object
  extended byorg.apache.axis2.transport.http.HTTPTransportUtils

public class HTTPTransportUtils
extends Object


Constructor Summary
HTTPTransportUtils()
           
 
Method Summary
static org.apache.axiom.soap.SOAPEnvelope createEnvelopeFromGetRequest(String requestUrl, Map map, ConfigurationContext configurationContext)
           
static boolean doWriteMTOM(MessageContext msgContext)
           
static boolean isDoingREST(MessageContext msgContext)
           
static boolean processHTTPGetRequest(MessageContext msgContext, OutputStream out, 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
 

Constructor Detail

HTTPTransportUtils

public HTTPTransportUtils()
Method Detail

createEnvelopeFromGetRequest

public static org.apache.axiom.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,
                                            OutputStream out,
                                            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)