ProtocolIOSession that implements
server side of the HTTP/2 protocol negotiation handshake.
| Modifier and Type | Field and Description |
|---|---|
| private final ServerH2StreamMultiplexerFactory | |
| private final BufferedData | |
| pack-priv static final byte[] |
| Access | Constructor and Description |
|---|---|
| public | ServerH2PrefaceHandler(final ProtocolIOSession ioSession, final ServerH2StreamMultiplexerFactory http2StreamHandlerFactory)
|
| public | ServerH2PrefaceHandler(final ProtocolIOSession ioSession, final ServerH2StreamMultiplexerFactory http2StreamHandlerFactory, final FutureCallback<ProtocolIOSession> resultCallback)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | connected(final IOSession
the I/O session. session)Implements org. |
| public void | inputReady(final IOSession
the I/O session. session, final ByteBuffer src)Implements org. |
| public void | outputReady(final IOSession
the I/O session. session)Implements org. |
| public String |
| http2StreamHandlerFactory | back to summary |
|---|---|
| private final ServerH2StreamMultiplexerFactory http2StreamHandlerFactory | |
| inBuf | back to summary |
|---|---|
| private final BufferedData inBuf | |
| PREFACE | back to summary |
|---|---|
| pack-priv static final byte[] PREFACE | |
| ServerH2PrefaceHandler | back to summary |
|---|---|
| public ServerH2PrefaceHandler(final ProtocolIOSession ioSession, final ServerH2StreamMultiplexerFactory http2StreamHandlerFactory) | |
| ServerH2PrefaceHandler | back to summary |
|---|---|
| public ServerH2PrefaceHandler(final ProtocolIOSession ioSession, final ServerH2StreamMultiplexerFactory http2StreamHandlerFactory, final FutureCallback<ProtocolIOSession> resultCallback) | |
| connected | back to summary |
|---|---|
| public void connected(final IOSession session) throws IOException Implements org. Doc from org. Triggered after the given session has been just created. | |
| inputReady | back to summary |
|---|---|
| public void inputReady(final IOSession session, final ByteBuffer src) throws IOException Implements org. Doc from org. Triggered when the given session has input pending. | |
| outputReady | back to summary |
|---|---|
| public void outputReady(final IOSession session) throws IOException Implements org. Doc from org. Triggered when the given session is ready for output. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |