Class ContentEncoding.RequestInterceptor

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

    protected class ContentEncoding.RequestInterceptor
    extends java.lang.Object
    implements org.apache.http.HttpRequestInterceptor
    Request interceptor that adds the correct Accept header to the outgoing request.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected RequestInterceptor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void process​(org.apache.http.HttpRequest req, org.apache.http.protocol.HttpContext context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RequestInterceptor

        protected RequestInterceptor()
    • Method Detail

      • process

        public void process​(org.apache.http.HttpRequest req,
                            org.apache.http.protocol.HttpContext context)
                     throws org.apache.http.HttpException,
                            java.io.IOException
        Specified by:
        process in interface org.apache.http.HttpRequestInterceptor
        Throws:
        org.apache.http.HttpException
        java.io.IOException