Class HTTPIntercepts.DebugInterceptResponse

  • All Implemented Interfaces:
    org.apache.http.HttpResponseInterceptor
    Enclosing class:
    HTTPIntercepts

    public static class HTTPIntercepts.DebugInterceptResponse
    extends Object
    implements org.apache.http.HttpResponseInterceptor
    • Field Detail

      • statusline

        protected org.apache.http.StatusLine statusline
      • context

        protected org.apache.http.protocol.HttpContext context
      • headers

        protected List<org.apache.http.Header> headers
      • request

        protected org.apache.http.HttpRequest request
      • response

        protected org.apache.http.HttpResponse response
    • Constructor Detail

      • DebugInterceptResponse

        public DebugInterceptResponse()
    • Method Detail

      • getStatusCode

        public int getStatusCode()
      • process

        public void process​(org.apache.http.HttpResponse response,
                            org.apache.http.protocol.HttpContext context)
                     throws org.apache.http.HttpException,
                            IOException
        Specified by:
        process in interface org.apache.http.HttpResponseInterceptor
        Throws:
        org.apache.http.HttpException
        IOException
      • setPrint

        public ucar.httpservices.HTTPIntercepts.InterceptCommon setPrint​(HTTPIntercepts.Printer printer)
      • clear

        public void clear()
      • getRequest

        public org.apache.http.HttpRequest getRequest()
      • getResponse

        public org.apache.http.HttpResponse getResponse()
      • getContext

        public org.apache.http.protocol.HttpContext getContext()
      • getRequestEntity

        public org.apache.http.HttpEntity getRequestEntity()
      • getHeaders

        public List<org.apache.http.Header> getHeaders​(String key)
      • getHeaders

        public List<org.apache.http.Header> getHeaders()
      • printHeaders

        public void printHeaders()