Class ClientHttp1IOEventHandler
- java.lang.Object
-
- org.apache.hc.core5.http.impl.nio.AbstractHttp1IOEventHandler
-
- org.apache.hc.core5.http.impl.nio.ClientHttp1IOEventHandler
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,HttpConnection,HttpConnectionEventHandler,SocketModalCloseable,ModalCloseable,IOEventHandler
public class ClientHttp1IOEventHandler extends AbstractHttp1IOEventHandler
IOEventHandlerthat 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 Constructor Description ClientHttp1IOEventHandler(ClientHttp1StreamDuplexer streamDuplexer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProtocolVersiongetProtocolVersion()Returns this connection's protocol version ornullif unknown.java.lang.StringtoString()-
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 Detail
-
ClientHttp1IOEventHandler
public ClientHttp1IOEventHandler(ClientHttp1StreamDuplexer streamDuplexer)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getProtocolVersion
public ProtocolVersion getProtocolVersion()
Description copied from interface:HttpConnectionReturns this connection's protocol version ornullif unknown.- Specified by:
getProtocolVersionin interfaceHttpConnection- Overrides:
getProtocolVersionin classAbstractHttp1IOEventHandler- Returns:
- this connection's protocol version or
nullif unknown.
-
-