Class AS2BHttpClientConnection

  • All Implemented Interfaces:
    Closeable, AutoCloseable, org.apache.http.conn.ManagedHttpClientConnection, org.apache.http.HttpClientConnection, org.apache.http.HttpConnection, org.apache.http.HttpInetConnection, org.apache.http.protocol.HttpContext

    public class AS2BHttpClientConnection
    extends org.apache.http.impl.conn.DefaultManagedHttpClientConnection
    • Field Summary

      • Fields inherited from interface org.apache.http.protocol.HttpContext

        RESERVED_PREFIX
    • Constructor Summary

      Constructors 
      Constructor Description
      AS2BHttpClientConnection​(String id, int buffersize)  
      AS2BHttpClientConnection​(String id, int buffersize, int fragmentSizeHint, CharsetDecoder chardecoder, CharsetEncoder charencoder, org.apache.http.config.MessageConstraints constraints, org.apache.http.entity.ContentLengthStrategy incomingContentStrategy, org.apache.http.entity.ContentLengthStrategy outgoingContentStrategy, org.apache.http.io.HttpMessageWriterFactory<org.apache.http.HttpRequest> requestWriterFactory, org.apache.http.io.HttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void receiveResponseEntity​(org.apache.http.HttpResponse response)  
      • Methods inherited from class org.apache.http.impl.conn.DefaultManagedHttpClientConnection

        bind, getAttribute, getId, getSocket, getSSLSession, removeAttribute, setAttribute, shutdown
      • Methods inherited from class org.apache.http.impl.DefaultBHttpClientConnection

        flush, isResponseAvailable, onRequestSubmitted, onResponseReceived, receiveResponseHeader, sendRequestEntity, sendRequestHeader
      • Methods inherited from class org.apache.http.impl.BHttpConnectionBase

        awaitInput, close, createInputStream, createOutputStream, doFlush, ensureOpen, getLocalAddress, getLocalPort, getMetrics, getRemoteAddress, getRemotePort, getSessionInputBuffer, getSessionOutputBuffer, getSocketInputStream, getSocketOutputStream, getSocketTimeout, incrementRequestCount, incrementResponseCount, isOpen, isStale, prepareInput, prepareOutput, setSocketTimeout, toString
      • Methods inherited from interface org.apache.http.HttpClientConnection

        flush, isResponseAvailable, receiveResponseHeader, sendRequestEntity, sendRequestHeader
      • Methods inherited from interface org.apache.http.HttpConnection

        close, getMetrics, getSocketTimeout, isOpen, isStale, setSocketTimeout
      • Methods inherited from interface org.apache.http.HttpInetConnection

        getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort
    • Constructor Detail

      • AS2BHttpClientConnection

        public AS2BHttpClientConnection​(String id,
                                        int buffersize,
                                        int fragmentSizeHint,
                                        CharsetDecoder chardecoder,
                                        CharsetEncoder charencoder,
                                        org.apache.http.config.MessageConstraints constraints,
                                        org.apache.http.entity.ContentLengthStrategy incomingContentStrategy,
                                        org.apache.http.entity.ContentLengthStrategy outgoingContentStrategy,
                                        org.apache.http.io.HttpMessageWriterFactory<org.apache.http.HttpRequest> requestWriterFactory,
                                        org.apache.http.io.HttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory)
      • AS2BHttpClientConnection

        public AS2BHttpClientConnection​(String id,
                                        int buffersize)
    • Method Detail

      • receiveResponseEntity

        public void receiveResponseEntity​(org.apache.http.HttpResponse response)
                                   throws org.apache.http.HttpException,
                                          IOException
        Specified by:
        receiveResponseEntity in interface org.apache.http.HttpClientConnection
        Overrides:
        receiveResponseEntity in class org.apache.http.impl.DefaultBHttpClientConnection
        Throws:
        org.apache.http.HttpException
        IOException