Class HTTPIntercepts.DebugInterceptRequest

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

    public static class HTTPIntercepts.DebugInterceptRequest
    extends Object
    implements org.apache.http.HttpRequestInterceptor
    • Field Detail

      • requestline

        protected org.apache.http.RequestLine requestline
      • 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

      • DebugInterceptRequest

        public DebugInterceptRequest()
    • Method Detail

      • getMethod

        public String getMethod()
      • getUri

        public String getUri()
      • process

        public void process​(org.apache.http.HttpRequest request,
                            org.apache.http.protocol.HttpContext context)
                     throws org.apache.http.HttpException,
                            IOException
        Specified by:
        process in interface org.apache.http.HttpRequestInterceptor
        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()