Class ResponseHandlerFactoryImpl.ResponseHandlerImpl

  • All Implemented Interfaces:
    org.apache.hc.core5.http.io.HttpClientResponseHandler<AdaptrisMessage>
    Enclosing class:
    ResponseHandlerFactoryImpl

    protected abstract class ResponseHandlerFactoryImpl.ResponseHandlerImpl
    extends java.lang.Object
    implements org.apache.hc.core5.http.io.HttpClientResponseHandler<AdaptrisMessage>
    • Constructor Detail

      • ResponseHandlerImpl

        protected ResponseHandlerImpl​(HttpProducer owner)
    • Method Detail

      • logAndThrow

        protected void logAndThrow​(int status,
                                   org.apache.hc.core5.http.HttpEntity entity)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • exceptionBreakout

        protected void exceptionBreakout​(int status,
                                         org.apache.hc.core5.http.HttpEntity entity)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • contentEncoding

        protected java.lang.String contentEncoding​(org.apache.hc.core5.http.HttpEntity entity)
      • handleResponse

        public AdaptrisMessage handleResponse​(org.apache.hc.core5.http.ClassicHttpResponse response)
                                       throws org.apache.hc.client5.http.ClientProtocolException,
                                              java.io.IOException
        Specified by:
        handleResponse in interface org.apache.hc.core5.http.io.HttpClientResponseHandler<AdaptrisMessage>
        Throws:
        org.apache.hc.client5.http.ClientProtocolException
        java.io.IOException
      • processEntity

        protected abstract void processEntity​(org.apache.hc.core5.http.HttpEntity entity,
                                              java.lang.String encoding,
                                              AdaptrisMessage msg)
                                       throws java.io.IOException
        Throws:
        java.io.IOException