Class ServerH2IOEventHandler
java.lang.Object
org.apache.hc.core5.http2.impl.nio.ServerH2IOEventHandler
- All Implemented Interfaces:
Closeable,AutoCloseable,HttpConnection,HttpConnectionEventHandler,SocketModalCloseable,ModalCloseable,IOEventHandler
IOEventHandler that implements
server side HTTP/2 messaging protocol with full support for
multiplexed message transmission.- Since:
- 5.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidvoidvoiddisconnected(IOSession session) voidvoidinputReady(IOSession session, ByteBuffer src) booleanisOpen()voidoutputReady(IOSession session) voidsetSocketTimeout(Timeout timeout) voidtoString()
-
Constructor Details
-
ServerH2IOEventHandler
-
-
Method Details
-
toString
-
connected
- Specified by:
connectedin interfaceIOEventHandler- Throws:
IOException
-
inputReady
- Specified by:
inputReadyin interfaceIOEventHandler- Throws:
IOException
-
outputReady
- Specified by:
outputReadyin interfaceIOEventHandler- Throws:
IOException
-
timeout
- Specified by:
timeoutin interfaceIOEventHandler- Throws:
IOException
-
exception
- Specified by:
exceptionin interfaceIOEventHandler
-
disconnected
- Specified by:
disconnectedin interfaceIOEventHandler
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceHttpConnection- Throws:
IOException
-
close
- Specified by:
closein interfaceModalCloseable
-
isOpen
public boolean isOpen()- Specified by:
isOpenin interfaceHttpConnection
-
setSocketTimeout
- Specified by:
setSocketTimeoutin interfaceSocketModalCloseable
-
getSSLSession
- Specified by:
getSSLSessionin interfaceHttpConnection
-
getEndpointDetails
- Specified by:
getEndpointDetailsin interfaceHttpConnection
-
getSocketTimeout
- Specified by:
getSocketTimeoutin interfaceSocketModalCloseable
-
getProtocolVersion
- Specified by:
getProtocolVersionin interfaceHttpConnection
-
getRemoteAddress
- Specified by:
getRemoteAddressin interfaceHttpConnection
-
getLocalAddress
- Specified by:
getLocalAddressin interfaceHttpConnection
-