Class ServerHttp1IOEventHandler
- java.lang.Object
-
- org.apache.hc.core5.http.impl.nio.AbstractHttp1IOEventHandler
-
- org.apache.hc.core5.http.impl.nio.ServerHttp1IOEventHandler
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,HttpConnection
,HttpConnectionEventHandler
,SocketModalCloseable
,ModalCloseable
,IOEventHandler
public class ServerHttp1IOEventHandler extends AbstractHttp1IOEventHandler
IOEventHandler
that implements server 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 ServerHttp1IOEventHandler(ServerHttp1StreamDuplexer streamDuplexer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProtocolVersion
getProtocolVersion()
Returns this connection's protocol version ornull
if unknown.java.lang.String
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 Detail
-
ServerHttp1IOEventHandler
public ServerHttp1IOEventHandler(ServerHttp1StreamDuplexer streamDuplexer)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getProtocolVersion
public ProtocolVersion 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.
-
-