Class AxisHttpResponseImpl

    • Constructor Detail

      • AxisHttpResponseImpl

        public AxisHttpResponseImpl​(AxisHttpConnection conn,
                                    org.apache.http.HttpResponse response,
                                    org.apache.http.protocol.HttpProcessor httpproc,
                                    org.apache.http.protocol.HttpContext context)
    • Method Detail

      • isCommitted

        public boolean isCommitted()
      • commit

        public void commit()
                    throws IOException,
                           org.apache.http.HttpException
        Throws:
        IOException
        org.apache.http.HttpException
      • getProtocolVersion

        public org.apache.http.ProtocolVersion getProtocolVersion()
        Specified by:
        getProtocolVersion in interface org.apache.http.HttpMessage
      • addHeader

        public void addHeader​(org.apache.http.Header header)
        Specified by:
        addHeader in interface org.apache.http.HttpMessage
      • addHeader

        public void addHeader​(String name,
                              String value)
        Specified by:
        addHeader in interface org.apache.http.HttpMessage
      • containsHeader

        public boolean containsHeader​(String name)
        Specified by:
        containsHeader in interface org.apache.http.HttpMessage
      • getAllHeaders

        public org.apache.http.Header[] getAllHeaders()
        Specified by:
        getAllHeaders in interface org.apache.http.HttpMessage
      • getFirstHeader

        public org.apache.http.Header getFirstHeader​(String name)
        Specified by:
        getFirstHeader in interface org.apache.http.HttpMessage
      • getHeaders

        public org.apache.http.Header[] getHeaders​(String name)
        Specified by:
        getHeaders in interface org.apache.http.HttpMessage
      • getLastHeader

        public org.apache.http.Header getLastHeader​(String name)
        Specified by:
        getLastHeader in interface org.apache.http.HttpMessage
      • headerIterator

        public org.apache.http.HeaderIterator headerIterator()
        Specified by:
        headerIterator in interface org.apache.http.HttpMessage
      • headerIterator

        public org.apache.http.HeaderIterator headerIterator​(String name)
        Specified by:
        headerIterator in interface org.apache.http.HttpMessage
      • removeHeader

        public void removeHeader​(org.apache.http.Header header)
        Specified by:
        removeHeader in interface org.apache.http.HttpMessage
      • removeHeaders

        public void removeHeaders​(String name)
        Specified by:
        removeHeaders in interface org.apache.http.HttpMessage
      • setHeader

        public void setHeader​(org.apache.http.Header header)
        Specified by:
        setHeader in interface org.apache.http.HttpMessage
      • setHeader

        public void setHeader​(String name,
                              String value)
        Specified by:
        setHeader in interface org.apache.http.HttpMessage
      • setHeaders

        public void setHeaders​(org.apache.http.Header[] headers)
        Specified by:
        setHeaders in interface org.apache.http.HttpMessage
      • getParams

        public org.apache.http.params.HttpParams getParams()
        Specified by:
        getParams in interface org.apache.http.HttpMessage
      • setParams

        public void setParams​(org.apache.http.params.HttpParams params)
        Specified by:
        setParams in interface org.apache.http.HttpMessage