| Modifier and Type | Field and Description |
|---|---|
| private final AtomicBoolean | |
| private static final Logger | |
| private final String | |
| private static final Logger | |
| private Timeout | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public | DefaultManagedHttpClientConnection(final String id, final CharsetDecoder charDecoder, final CharsetEncoder charEncoder, final Http1Config h1Config, final ContentLengthStrategy incomingContentStrategy, final ContentLengthStrategy outgoingContentStrategy, final ResponseOutOfOrderStrategy responseOutOfOrderStrategy, final HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, final HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory)
|
| public | DefaultManagedHttpClientConnection(final String id, final CharsetDecoder charDecoder, final CharsetEncoder charEncoder, final Http1Config h1Config, final ContentLengthStrategy incomingContentStrategy, final ContentLengthStrategy outgoingContentStrategy, final HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, final HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory)
|
| public |
| closed | back to summary |
|---|---|
| private final AtomicBoolean closed | |
| HEADER_LOG | back to summary |
|---|---|
| private static final Logger HEADER_LOG | |
| id | back to summary |
|---|---|
| private final String id | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| socketTimeout | back to summary |
|---|---|
| private Timeout socketTimeout | |
| WIRE_LOG | back to summary |
|---|---|
| private static final Logger WIRE_LOG | |
| DefaultManagedHttpClientConnection | back to summary |
|---|---|
| public DefaultManagedHttpClientConnection(final String id, final CharsetDecoder charDecoder, final CharsetEncoder charEncoder, final Http1Config h1Config, final ContentLengthStrategy incomingContentStrategy, final ContentLengthStrategy outgoingContentStrategy, final ResponseOutOfOrderStrategy responseOutOfOrderStrategy, final HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, final HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) | |
| DefaultManagedHttpClientConnection | back to summary |
|---|---|
| public DefaultManagedHttpClientConnection(final String id, final CharsetDecoder charDecoder, final CharsetEncoder charEncoder, final Http1Config h1Config, final ContentLengthStrategy incomingContentStrategy, final ContentLengthStrategy outgoingContentStrategy, final HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, final HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) | |
| DefaultManagedHttpClientConnection | back to summary |
|---|---|
| public DefaultManagedHttpClientConnection(final String id) | |
| activate | back to summary |
|---|---|
| public void activate() Implements org. Doc from org. Restores the connection from idle mode.
| |
| bind | back to summary |
|---|---|
| public void bind(final SocketHolder socketHolder) throws IOException Overrides org.
| |
| bind | back to summary |
|---|---|
| public void bind(final Socket socket) throws IOException Overrides org. Implements org. Doc from org. Binds this connection to the given socket. The connection is considered open if it is bound and the underlying socket is connection to a remote host.
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides org. Implements org. Doc from org. Closes this connection gracefully. This method will attempt to flush the internal output
buffer prior to closing the underlying socket. This method MUST NOT be called from a
different thread to force shutdown of the connection. Use
| |
| close | back to summary |
|---|---|
| public void close(final CloseMode closeMode) Overrides org. Implements org. Doc from org. Closes this process or endpoint and releases any system resources associated with it. If the endpoint or the process is already closed then invoking this method has no effect. | |
| getId | back to summary |
|---|---|
| public String getId() Implements org.
| |
| getSocket | back to summary |
|---|---|
| public Socket getSocket() Implements org. Doc from org. Returns the underlying socket.
| |
| getSSLSession | back to summary |
|---|---|
| public SSLSession getSSLSession() Overrides org. Implements org. Doc from org. Obtains the SSL session of the underlying connection, if any.
If this connection is open, and the underlying socket is an
| |
| onRequestSubmitted | back to summary |
|---|---|
| protected void onRequestSubmitted(final ClassicHttpRequest request) Overrides org.
| |
| onResponseReceived | back to summary |
|---|---|
| protected void onResponseReceived(final ClassicHttpResponse response) Overrides org.
| |
| passivate | back to summary |
|---|---|
| public void passivate() Implements org. Doc from org. Puts the connection into idle mode.
| |
| setSocketTimeout | back to summary |
|---|---|
| public void setSocketTimeout(final Timeout timeout) Overrides org. Implements org. Doc from org. Sets the socket timeout value. | |