| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicReference | |
| private final ByteBufferPool | |
| private static final ByteBuffer | |
| private static final Logger | |
| private RetainableByteBuffer | |
| private final MessageParser | |
| private boolean | |
| private HTTP3Stream | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | HTTP3StreamConnection(QuicStreamEndPoint endPoint, Executor executor, ByteBufferPool bufferPool, MessageParser parser)
|
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| public QuicStreamEndPoint | |
| public boolean | |
| public void | onFillable()
Implements abstract org. Callback method invoked when the endpoint is ready to be read. |
| public void | onOpen()
Overrides org. Implements org. Callback method invoked when this connection is opened. |
| protected boolean | onReadTimeout(TimeoutException timeout)
Overrides org. Callback method invoked when the endpoint failed to be ready to be read after a timeout |
| private MessageParser. | |
| private void | |
| private void | |
| private void | |
| private void | |
| public void | |
| pack-priv void | |
| public void | |
| private void | |
| public String | |
| private void | |
| private void |
| action | back to summary |
|---|---|
| private final AtomicReference<Runnable> action | |
| bufferPool | back to summary |
|---|---|
| private final ByteBufferPool bufferPool | |
| EMPTY_DATA_FRAME | back to summary |
|---|---|
| private static final ByteBuffer EMPTY_DATA_FRAME | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| networkBuffer | back to summary |
|---|---|
| private RetainableByteBuffer networkBuffer | |
| parser | back to summary |
|---|---|
| private final MessageParser parser | |
| remotelyClosed | back to summary |
|---|---|
| private boolean remotelyClosed | |
| stream | back to summary |
|---|---|
| private HTTP3Stream stream | |
| useInputDirectByteBuffers | back to summary |
|---|---|
| private boolean useInputDirectByteBuffers | |
| HTTP3StreamConnection | back to summary |
|---|---|
| public HTTP3StreamConnection(QuicStreamEndPoint endPoint, Executor executor, ByteBufferPool bufferPool, MessageParser parser) | |
| fill | back to summary |
|---|---|
| private int fill(ByteBuffer byteBuffer) | |
| getEndPoint | back to summary |
|---|---|
| public QuicStreamEndPoint getEndPoint() Overrides org. Implements org.
| |
| isUseInputDirectByteBuffers | back to summary |
|---|---|
| public boolean isUseInputDirectByteBuffers() | |
| onFillable | back to summary |
|---|---|
| public void onFillable() Implements abstract org. Doc from org. Callback method invoked when the endpoint is ready to be read.
| |
| onOpen | back to summary |
|---|---|
| public void onOpen() Overrides org. Implements org. Doc from org. Callback method invoked when this connection is opened. Creators of the connection implementation are responsible for calling this method.
| |
| onReadTimeout | back to summary |
|---|---|
| protected boolean onReadTimeout(TimeoutException timeout) Overrides org. Doc from org. Callback method invoked when the endpoint failed to be ready to be read after a timeout
| |
| parseAndFill | back to summary |
|---|---|
| private MessageParser. | |
| processData | back to summary |
|---|---|
| private void processData(DataFrame frame, Runnable delegate) | |
| processDataFrames | back to summary |
|---|---|
| private void processDataFrames(boolean setFillInterest) | |
| processHeaders | back to summary |
|---|---|
| private void processHeaders(HeadersFrame frame, boolean wasBlocked, Runnable delegate) | |
| processNonDataFrames | back to summary |
|---|---|
| private void processNonDataFrames() | |
| receive | back to summary |
|---|---|
| public void receive() | |
| setStream | back to summary |
|---|---|
| pack-priv void setStream(HTTP3Stream stream) | |
| setUseInputDirectByteBuffers | back to summary |
|---|---|
| public void setUseInputDirectByteBuffers(boolean useInputDirectByteBuffers) | |
| shutdownInput | back to summary |
|---|---|
| private void shutdownInput() | |
| toConnectionString | back to summary |
|---|---|
| public String toConnectionString() Overrides org.
| |
| tryAcquireBuffer | back to summary |
|---|---|
| private void tryAcquireBuffer() | |
| tryReleaseBuffer | back to summary |
|---|---|
| private void tryReleaseBuffer(boolean force) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | onData(long streamId, DataFrame frame)
Overrides org. Overrides default org.
|
| public void | onHeaders(long streamId, HeadersFrame frame, boolean wasBlocked)
Overrides org. Overrides default org.
|
| MessageListener | back to summary |
|---|---|
| private MessageListener(ParserListener listener) | |
| onData | back to summary |
|---|---|
| public void onData(long streamId, DataFrame frame) Overrides org. Overrides default org.
| |
| onHeaders | back to summary |
|---|---|
| public void onHeaders(long streamId, HeadersFrame frame, boolean wasBlocked) Overrides org. Overrides default org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final RetainableByteBuffer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canRetain()
Overrides default org. Returns whether this resource is referenced counted by calls to |
| public boolean | release()
Overrides default org. Releases this resource, potentially decrementing a reference count (if any). |
| public void | retain()
Overrides default org. Retains this resource, potentially incrementing a reference count if there are resources that will be released. |
| retainable | back to summary |
|---|---|
| private final RetainableByteBuffer retainable | |
| StreamData | back to summary |
|---|---|
| public StreamData(DataFrame frame, RetainableByteBuffer retainable) | |
| canRetain | back to summary |
|---|---|
| public boolean canRetain() Overrides default org. Doc from org. Returns whether this resource is referenced counted by calls to Implementations may decide that special resources are not not referenced counted (for example,
| |
| release | back to summary |
|---|---|
| public boolean release() Overrides default org. Doc from org. Releases this resource, potentially decrementing a reference count (if any).
| |
| retain | back to summary |
|---|---|
| public void retain() Overrides default org. Doc from org. Retains this resource, potentially incrementing a reference count if there are resources that will be released.
| |