Class ApacheHttpProducer

    • Constructor Detail

      • ApacheHttpProducer

        public ApacheHttpProducer()
    • Method Detail

      • close

        public void close()
      • customise

        protected org.apache.hc.client5.http.impl.classic.HttpClientBuilder customise​(org.apache.hc.client5.http.impl.classic.HttpClientBuilder builder)
                                                                               throws java.lang.Exception
        Do any further customisations.
        Parameters:
        builder - the builder
        Returns:
        the builder.
        Throws:
        java.lang.Exception
      • getResponseHandlerFactory

        public ResponseHandlerFactory getResponseHandlerFactory()
        How to handle the response from the HTTP Server.

        If not explicitly configured then the response payload is stored as the payload of the resulting AdaptrisMessage.

      • setResponseHandlerFactory

        public void setResponseHandlerFactory​(ResponseHandlerFactory responseHandlerFactory)
        How to handle the response from the HTTP Server.

        If not explicitly configured then the response payload is stored as the payload of the resulting AdaptrisMessage.