org.apache.axis2.transport.http
Class HTTPTransportUtils

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

public class HTTPTransportUtils
extends java.lang.Object


Constructor Summary
HTTPTransportUtils()
           
 
Method Summary
static boolean checkEnvelopeForOptimise(SOAPEnvelope envelope)
           
static SOAPEnvelope createEnvelopeFromGetRequest(java.lang.String requestUrl, java.util.Map map)
           
static boolean doWriteMTOM(MessageContext msgContext)
           
static boolean processHTTPGetRequest(MessageContext msgContext, java.io.InputStream in, java.io.OutputStream out, java.lang.String contentType, java.lang.String soapAction, java.lang.String requestURI, ConfigurationContext configurationContext, java.util.Map requestParameters)
           
static void processHTTPPostRequest(MessageContext msgContext, java.io.InputStream in, java.io.OutputStream out, java.lang.String contentType, java.lang.String soapActionHeader, java.lang.String requestURI, ConfigurationContext configurationContext)
           
static StAXBuilder selectBuilderForMIME(MessageContext msgContext, java.io.InputStream inStream, java.lang.String contentTypeString)
           
 
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

processHTTPPostRequest

public static void processHTTPPostRequest(MessageContext msgContext,
                                          java.io.InputStream in,
                                          java.io.OutputStream out,
                                          java.lang.String contentType,
                                          java.lang.String soapActionHeader,
                                          java.lang.String requestURI,
                                          ConfigurationContext configurationContext)
                                   throws AxisFault
Throws:
AxisFault

processHTTPGetRequest

public static boolean processHTTPGetRequest(MessageContext msgContext,
                                            java.io.InputStream in,
                                            java.io.OutputStream out,
                                            java.lang.String contentType,
                                            java.lang.String soapAction,
                                            java.lang.String requestURI,
                                            ConfigurationContext configurationContext,
                                            java.util.Map requestParameters)
                                     throws AxisFault
Throws:
AxisFault

createEnvelopeFromGetRequest

public static SOAPEnvelope createEnvelopeFromGetRequest(java.lang.String requestUrl,
                                                        java.util.Map map)

selectBuilderForMIME

public static StAXBuilder selectBuilderForMIME(MessageContext msgContext,
                                               java.io.InputStream inStream,
                                               java.lang.String contentTypeString)
                                        throws OMException,
                                               XMLStreamException,
                                               javax.xml.parsers.FactoryConfigurationError,
                                               java.io.UnsupportedEncodingException
Throws:
OMException
XMLStreamException
javax.xml.parsers.FactoryConfigurationError
java.io.UnsupportedEncodingException

checkEnvelopeForOptimise

public static boolean checkEnvelopeForOptimise(SOAPEnvelope envelope)

doWriteMTOM

public static boolean doWriteMTOM(MessageContext msgContext)