Class ClientHttp1IOEventHandler
java.lang.Object
org.apache.hc.core5.http.impl.nio.AbstractHttp1IOEventHandler
org.apache.hc.core5.http.impl.nio.ClientHttp1IOEventHandler
- All Implemented Interfaces:
Closeable
,AutoCloseable
,HttpConnection
,HttpConnectionEventHandler
,SocketModalCloseable
,ModalCloseable
,IOEventHandler
IOEventHandler
that implements
client side HTTP/1.1 messaging protocol with full support for
duplexed message transmission and message pipelining.- Since:
- 5.0
-
Field Summary
Fields inherited from class org.apache.hc.core5.http.impl.nio.AbstractHttp1IOEventHandler
streamDuplexer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns this connection's protocol version ornull
if unknown.toString()
Methods inherited from class org.apache.hc.core5.http.impl.nio.AbstractHttp1IOEventHandler
close, close, connected, disconnected, exception, getEndpointDetails, getLocalAddress, getRemoteAddress, getSocketTimeout, getSSLSession, inputReady, isOpen, outputReady, setSocketTimeout, timeout
-
Constructor Details
-
ClientHttp1IOEventHandler
-
-
Method Details
-
toString
-
getProtocolVersion
Description copied from interface:HttpConnection
Returns this connection's protocol version ornull
if unknown.- Specified by:
getProtocolVersion
in interfaceHttpConnection
- Overrides:
getProtocolVersion
in classAbstractHttp1IOEventHandler
- Returns:
- this connection's protocol version or
null
if unknown.
-