| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private volatile Throwable | |
| private final SocketWrapperBase | |
| private final Http2AsyncUpgradeHandler |
| Access | Constructor and Description |
|---|---|
| pack-priv | Http2AsyncParser(String connectionId, Http2Parser.
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| pack-priv void | readConnectionPreface(WebConnection
The connection webConnection, Stream The current stream stream)Overrides org. Read and validate the connection preface from input using blocking IO. |
| protected boolean | readFrame(boolean block, FrameType expected)
Overrides org.
|
| error | back to summary |
|---|---|
| private volatile Throwable error | |
| socketWrapper | back to summary |
|---|---|
| private final SocketWrapperBase<?> socketWrapper | |
| upgradeHandler | back to summary |
|---|---|
| private final Http2AsyncUpgradeHandler upgradeHandler | |
| Http2AsyncParser | back to summary |
|---|---|
| pack-priv Http2AsyncParser(String connectionId, Http2Parser. | |
| handleAsyncException | back to summary |
|---|---|
| private void handleAsyncException() throws IOException, Http2Exception | |
| readConnectionPreface | back to summary |
|---|---|
| pack-priv void readConnectionPreface(WebConnection webConnection, Stream stream) throws Http2Exception Overrides org. Doc from org. Read and validate the connection preface from input using blocking IO.
| |
| readFrame | back to summary |
|---|---|
| protected boolean readFrame(boolean block, FrameType expected) throws IOException, Http2Exception Overrides org.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final ByteBuffer[] | |
| private final FrameType | |
| protected volatile int | |
| protected volatile FrameType | |
| protected volatile int | |
| private volatile boolean | |
| protected volatile int | |
| private volatile SocketWrapperBase. | |
| protected volatile boolean | |
| protected volatile int | |
| private volatile boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public SocketWrapperBase. | callHandler(SocketWrapperBase.
of the operation (done or done in-line since the
IO call is done) state,ByteBuffer[] that has been passed to the
original IO call buffers, int that has been passed to the original IO call offset, int that has been passed to the original IO call length)Implements org. Determine what call, if any, should be made to the completion handler. |
| public void | completed(Long
The result of the I/O operation. result, Void The object attached to the I/O operation when it was initiated. attachment)Implements java. Invoked when an operation has completed. |
| public void | failed(Throwable
The exception to indicate why the I/O operation failed e, Void The object attached to the I/O operation when it was initiated. attachment)Implements java. Invoked when an operation fails. |
| protected SocketWrapperBase. |
| buffers | back to summary |
|---|---|
| protected final ByteBuffer[] buffers | |
| expected | back to summary |
|---|---|
| private final FrameType expected | |
| flags | back to summary |
|---|---|
| protected volatile int flags | |
| frameType | back to summary |
|---|---|
| protected volatile FrameType frameType | |
| frameTypeId | back to summary |
|---|---|
| protected volatile int frameTypeId | |
| parsedFrameHeader | back to summary |
|---|---|
| private volatile boolean parsedFrameHeader | |
| payloadSize | back to summary |
|---|---|
| protected volatile int payloadSize | |
| state | back to summary |
|---|---|
| private volatile SocketWrapperBase. | |
| streamException | back to summary |
|---|---|
| protected volatile boolean streamException | |
| streamId | back to summary |
|---|---|
| protected volatile int streamId | |
| validated | back to summary |
|---|---|
| private volatile boolean validated | |
| FrameCompletionHandler | back to summary |
|---|---|
| private FrameCompletionHandler(FrameType expected, ByteBuffer... buffers) | |
| callHandler | back to summary |
|---|---|
| public SocketWrapperBase. Implements org. Doc from org. Determine what call, if any, should be made to the completion handler.
| |
| completed | back to summary |
|---|---|
| public void completed(Long result, Void attachment) Implements java. Doc from java. Invoked when an operation has completed. | |
| failed | back to summary |
|---|---|
| public void failed(Throwable e, Void attachment) Implements java. Doc from java. Invoked when an operation fails. | |
| validate | back to summary |
|---|---|
| protected SocketWrapperBase. | |
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private volatile boolean | |
| private final Stream | |
| private final WebConnection |
| Access | Constructor and Description |
|---|---|
| private | PrefaceCompletionHandler(WebConnection webConnection, Stream stream, byte[] prefaceData, ByteBuffer... buffers)
|
| Modifier and Type | Method and Description |
|---|---|
| public SocketWrapperBase. | callHandler(SocketWrapperBase.
of the operation (done or done in-line since the
IO call is done) state,ByteBuffer[] that has been passed to the
original IO call buffers, int that has been passed to the original IO call offset, int that has been passed to the original IO call length)Overrides org. Implements org. Determine what call, if any, should be made to the completion handler. |
| public void | completed(Long
The result of the I/O operation. result, Void The object attached to the I/O operation when it was initiated. attachment)Overrides org. Implements java. Invoked when an operation has completed. |
| prefaceData | back to summary |
|---|---|
| private final byte[] prefaceData | |
| prefaceValidated | back to summary |
|---|---|
| private volatile boolean prefaceValidated | |
| stream | back to summary |
|---|---|
| private final Stream stream | |
| webConnection | back to summary |
|---|---|
| private final WebConnection webConnection | |
| PrefaceCompletionHandler | back to summary |
|---|---|
| private PrefaceCompletionHandler(WebConnection webConnection, Stream stream, byte[] prefaceData, ByteBuffer... buffers) | |
| callHandler | back to summary |
|---|---|
| public SocketWrapperBase. Overrides org. Implements org. Doc from org. Determine what call, if any, should be made to the completion handler.
| |
| completed | back to summary |
|---|---|
| public void completed(Long result, Void attachment) Overrides org. Implements java. Doc from java. Invoked when an operation has completed. | |