public class LoggingBHttpClientConnection extends DefaultBHttpClientConnection implements Identifiable
| Constructor and Description |
|---|
LoggingBHttpClientConnection(Http1Config http1Config) |
LoggingBHttpClientConnection(Http1Config http1Config,
CharsetDecoder charDecoder,
CharsetEncoder charEncoder,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory,
HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
awaitInput(Timeout arg0) |
void |
bind(Socket socket) |
protected void |
bind(SocketHolder arg0) |
void |
close() |
void |
close(CloseMode closeMode) |
protected InputStream |
createContentInputStream(long arg0,
SessionInputBuffer arg1,
InputStream arg2) |
protected OutputStream |
createContentOutputStream(long arg0,
SessionOutputBuffer arg1,
OutputStream arg2,
Supplier<List<? extends Header>> arg3) |
protected SocketHolder |
ensureOpen() |
String |
getId() |
protected SocketHolder |
getSocketHolder() |
protected void |
incrementRequestCount() |
protected void |
incrementResponseCount() |
protected void |
onRequestSubmitted(ClassicHttpRequest request) |
protected void |
onResponseReceived(ClassicHttpResponse response) |
isConsistent, receiveResponseEntity, receiveResponseHeader, sendRequestEntity, sendRequestHeader, terminateRequestpublic LoggingBHttpClientConnection(Http1Config http1Config, CharsetDecoder charDecoder, CharsetEncoder charEncoder, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory)
public LoggingBHttpClientConnection(Http1Config http1Config)
public String getId()
getId in interface Identifiablepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface HttpConnectionclose in class DefaultBHttpClientConnectionIOExceptionpublic void close(CloseMode closeMode)
close in interface ModalCloseableclose in class DefaultBHttpClientConnectionpublic void bind(Socket socket) throws IOException
bind in class DefaultBHttpClientConnectionIOExceptionprotected void onResponseReceived(ClassicHttpResponse response)
onResponseReceived in class DefaultBHttpClientConnectionprotected void onRequestSubmitted(ClassicHttpRequest request)
onRequestSubmitted in class DefaultBHttpClientConnectionprotected SocketHolder ensureOpen() throws IOException
IOExceptionprotected void bind(SocketHolder arg0) throws IOException
IOExceptionprotected SocketHolder getSocketHolder()
protected OutputStream createContentOutputStream(long arg0, SessionOutputBuffer arg1, OutputStream arg2, Supplier<List<? extends Header>> arg3)
protected InputStream createContentInputStream(long arg0, SessionInputBuffer arg1, InputStream arg2)
protected boolean awaitInput(Timeout arg0) throws IOException
IOExceptionprotected void incrementRequestCount()
protected void incrementResponseCount()
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.