Class HTTPSender

    • Field Detail

      • proxyOutSetting

        protected org.apache.axis2.description.TransportOutDescription proxyOutSetting
      • format

        protected org.apache.axiom.om.OMOutputFormat format
    • Constructor Detail

      • HTTPSender

        public HTTPSender()
    • Method Detail

      • setChunked

        public void setChunked​(boolean chunked)
      • setHttpVersion

        public void setHttpVersion​(String version)
                            throws org.apache.axis2.AxisFault
        Throws:
        org.apache.axis2.AxisFault
      • setFormat

        public void setFormat​(org.apache.axiom.om.OMOutputFormat format)
      • createRequest

        protected abstract Request createRequest​(org.apache.axis2.context.MessageContext msgContext,
                                                 String methodName,
                                                 URL url,
                                                 AxisRequestEntity requestEntity)
                                          throws org.apache.axis2.AxisFault
        Start a new HTTP request.
        Parameters:
        msgContext - The MessageContext of the request message
        methodName - The HTTP method name
        url - The target URL
        requestEntity - The content of the request or null if the HTTP request shouldn't have any content (e.g. for GET requests)
        Throws:
        org.apache.axis2.AxisFault - Thrown in case an exception occurs
      • send

        public void send​(org.apache.axis2.context.MessageContext msgContext,
                         URL url,
                         String soapActionString)
                  throws IOException
        Throws:
        IOException