Class CommonsResponse

    • Method Detail

      • getHttpMethod

        public org.apache.commons.httpclient.HttpMethod getHttpMethod()
        Deprecated.
      • getStatus

        public int getStatus()
        Deprecated.
        Return the status code of the response
        Specified by:
        getStatus in interface Response
      • getStatusText

        public String getStatusText()
        Deprecated.
        Return the status text of the response
        Specified by:
        getStatusText in interface Response
      • release

        public void release()
        Deprecated.
        Release the resources associated with this response
        Specified by:
        release in interface ClientResponse
      • getHeader

        public String getHeader​(String header)
        Deprecated.
        Return the value of the named HTTP header
        Specified by:
        getHeader in interface Message
      • getHeaders

        public Object[] getHeaders​(String header)
        Deprecated.
        Return the values of the named HTTP header
        Specified by:
        getHeaders in interface Message
      • getHeaders

        public Map<String,​Object[]> getHeaders()
        Deprecated.
        Return all of the HTTP headers
      • getHeaderNames

        public String[] getHeaderNames()
        Deprecated.
        Return a listing of HTTP header names
        Specified by:
        getHeaderNames in interface Message