| Modifier and Type | Field and Description |
|---|---|
| private final Log | |
| private final Log | |
| private final Wire |
| Access | Constructor and Description |
|---|---|
| public | LoggingManagedHttpClientConnection(final String id, final Log log, final Log headerLog, final Log wireLog, final int bufferSize, final int fragmentSizeHint, final CharsetDecoder charDecoder, final CharsetEncoder charEncoder, final MessageConstraints constraints, final ContentLengthStrategy incomingContentStrategy, final ContentLengthStrategy outgoingContentStrategy, final HttpMessageWriterFactory<HttpRequest> requestWriterFactory, final HttpMessageParserFactory<HttpResponse> responseParserFactory)
|
| headerLog | back to summary |
|---|---|
| private final Log headerLog | |
| log | back to summary |
|---|---|
| private final Log log | |
| wire | back to summary |
|---|---|
| private final Wire wire | |
| LoggingManagedHttpClientConnection | back to summary |
|---|---|
| public LoggingManagedHttpClientConnection(final String id, final Log log, final Log headerLog, final Log wireLog, final int bufferSize, final int fragmentSizeHint, final CharsetDecoder charDecoder, final CharsetEncoder charEncoder, final MessageConstraints constraints, final ContentLengthStrategy incomingContentStrategy, final ContentLengthStrategy outgoingContentStrategy, final HttpMessageWriterFactory<HttpRequest> requestWriterFactory, final HttpMessageParserFactory<HttpResponse> responseParserFactory) | |
| 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
| |
| getSocketInputStream | back to summary |
|---|---|
| protected InputStream getSocketInputStream(final Socket socket) throws IOException Overrides org.
| |
| getSocketOutputStream | back to summary |
|---|---|
| protected OutputStream getSocketOutputStream(final Socket socket) throws IOException Overrides org.
| |
| onRequestSubmitted | back to summary |
|---|---|
| protected void onRequestSubmitted(final HttpRequest request) Overrides org.
| |
| onResponseReceived | back to summary |
|---|---|
| protected void onResponseReceived(final HttpResponse response) Overrides org.
| |
| setSocketTimeout | back to summary |
|---|---|
| public void setSocketTimeout(final int timeout) Overrides org. Implements org. Doc from org. Sets the socket timeout value.
| |
| shutdown | back to summary |
|---|---|
| public void shutdown() throws IOException Overrides org. Implements org. Doc from org. Force-closes this connection. This is the only method of a connection which may be called from a different thread to terminate the connection. This method will not attempt to flush the transmitter's internal buffer prior to closing the underlying socket.
| |