Save This Page
Home » axis2-1.5-src » org.apache » axis2 » transport » http » [javadoc | source]
org.apache.axis2.transport.http
public class: HTTPTransportUtils [javadoc | source]
java.lang.Object
   org.apache.axis2.transport.http.HTTPTransportUtils
Method from org.apache.axis2.transport.http.HTTPTransportUtils Summary:
createEnvelopeFromGetRequest,   handleGZip,   initializeMessageContext,   isRESTRequest,   processHTTPGetRequest,   processHTTPPostRequest
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.axis2.transport.http.HTTPTransportUtils Detail:
 public static SOAPEnvelope createEnvelopeFromGetRequest(String requestUrl,
    Map map,
    ConfigurationContext configCtx) throws AxisFault 
Deprecated! This - was used only by the now deprecated processHTTPGetRequest() method.

 public static InputStream handleGZip(MessageContext msgContext,
    InputStream in) throws IOException 
 public static int initializeMessageContext(MessageContext msgContext,
    String soapActionHeader,
    String requestURI,
    String contentType) 
 public static boolean isRESTRequest(String contentType) 
    This will match for content types that will be regarded as REST in WSDL2.0. This contains, 1. application/xml 2. application/x-www-form-urlencoded 3. multipart/form-data

    If the request doesnot contain a content type; this will return true.

 public static boolean processHTTPGetRequest(MessageContext msgContext,
    OutputStream out,
    String soapAction,
    String requestURI,
    ConfigurationContext configurationContext,
    Map requestParameters) throws AxisFault 
Deprecated! use - RESTUtil.processURLRequest(MessageContext msgContext, OutputStream out, String contentType) instead

 public static InvocationResponse processHTTPPostRequest(MessageContext msgContext,
    InputStream in,
    OutputStream out,
    String contentType,
    String soapActionHeader,
    String requestURI) throws AxisFault