| Modifier and Type | Class and Description |
|---|---|
| private class | |
| pack-priv class | |
| private class | |
| pack-priv static record | |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv volatile boolean | |
| private final Http3Connection | |
| private static final String | |
| private String | |
| private final Logger | |
| pack-priv volatile boolean | |
| private static final VarHandle | |
| private final AtomicReference | |
| private final H3FrameOrderVerifier | |
| private final FramesDecoder | |
| private final HeaderFrameReader | |
| private final HeaderFrameWriter | |
| pack-priv volatile HttpResponse. | |
| pack-priv final ConcurrentHashMap | |
| private final Decoder | |
| private final Encoder | |
| private final QuicStreamReader | |
| private final SequentialScheduler | |
| private final HttpRequestImpl | |
| private final CompletableFuture | |
| pack-priv volatile long | |
| private final HttpHeaders | |
| private final HttpRequest. | |
| pack-priv volatile boolean | |
| pack-priv volatile Http3ExchangeImpl | |
| pack-priv volatile Response | |
| private final List | |
| private final ReentrantLock | |
| pack-priv volatile CompletableFuture | |
| pack-priv volatile int | |
| private final HttpHeadersBuilder | |
| pack-priv volatile boolean | |
| pack-priv volatile HttpResponse. | |
| private final Http3ExchangeImpl | |
| private final AtomicLong | |
| private final ReentrantLock | |
| pack-priv volatile boolean | |
| private final QuicBidiStream | |
| pack-priv final SubscriptionBase | |
| private final QuicStreamWriter | |
| private final SequentialScheduler |
| Access | Constructor and Description |
|---|---|
| pack-priv | Http3ExchangeImpl(final Http3Connection connection, final Exchange<T> exchange, final QuicBidiStream stream)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | |
| pack-priv PushGroup. | acceptPushPromise(long
the pushId pushId, HttpRequestImpl the promised push request pushRequest)This method is called by the |
| pack-priv void | |
| pack-priv void | cancel(IOException cause)
Implements abstract jdk. Cancels a request with a cause. |
| private void | |
| pack-priv void | cancelImpl(Throwable e, Http3Error error)
Implements abstract jdk. Cancel the stream exchange on error |
| private void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | completed()
Implements abstract jdk. Called when the exchange is completed, so that cleanup actions may be performed - such as deregistering callbacks. |
| pack-priv void | completeResponse(Response resp)
Implements abstract jdk. Completes the first uncompleted CF on list, and removes it. |
| pack-priv void | |
| private static long | |
| pack-priv HttpQuicConnection | connection()
Implements abstract jdk. Returns the |
| pack-priv void | connectionError(Throwable throwable, long errorCode, String errMsg)
Implements abstract jdk. Notify of a connection error. |
| pack-priv Http3ExchangeImpl | createResponseSubscriber(HttpResponse.
Overrides jdk. Creates and wraps an |
| pack-priv String | |
| pack-priv boolean | |
| pack-priv void | |
| private HttpHeaders | |
| pack-priv Throwable | getCancelCause()
Implements abstract jdk. Returns the cause for which this exchange was canceled, if available. |
| pack-priv CompletableFuture | getResponseAsync(Executor executor)
Implements abstract jdk. Gets the response headers. |
| protected void | |
| protected void | |
| private static boolean | |
| pack-priv Http3Connection | |
| pack-priv CompletableFuture | ignoreBody()
Implements abstract jdk. Ignore/consume the body. |
| private void | |
| private boolean | |
| pack-priv boolean | isCanceled()
Implements abstract jdk. Returns true if this exchange was canceled. |
| private static boolean | |
| pack-priv Response | newResponse(HttpHeaders responseHeaders, int responseCode)
Implements abstract jdk. Called to create a new Response object for the newly receive response headers and response status code. |
| pack-priv void | |
| pack-priv void | onHttp3PushStreamStarted(HttpRequestImpl
the pushRequest pushRequest, Http3PushPromiseStream<T> the pushStream pushStream)This method is called by the |
| pack-priv void | onPollException(QuicStreamReader reader, IOException io)
Implements abstract jdk. Called when an exception is thrown by |
| pack-priv void | onProtocolError(IOException cause)
Implements abstract jdk. Invoked whenever there is a (HTTP) protocol error when dealing with the response from the server. |
| pack-priv void | onPushRequestAccepted(long
the pushId pushId, CompletableFuture<HttpResponse<T>> the response completable future responseCF)This method is called by the |
| pack-priv void | onReaderReset()
Implements abstract jdk. Called when |
| pack-priv void | |
| private void | |
| pack-priv void | pushResponseData(ConcurrentLinkedQueue<List<ByteBuffer>> responseData)
Implements abstract jdk. Push response data to the response body subscriber if allowed by the subscription state. |
| pack-priv CompletableFuture | readBodyAsync(HttpResponse.
Implements abstract jdk.
|
| pack-priv void | receiveHeaders(HeadersFrame headers, List<ByteBuffer> payload)
Implements abstract jdk. Called when new payload data is received by |
| pack-priv void | receivePushPromiseFrame(PushPromiseFrame ppf, List<ByteBuffer> payload)
Implements abstract jdk. Called when new payload data is received by |
| pack-priv CompletableFuture | |
| pack-priv void | |
| private void | |
| pack-priv void | released()
Implements abstract jdk. Called when the exchange is released, so that cleanup actions may be performed - such as deregistering callbacks. |
| pack-priv void | |
| private void | |
| pack-priv void | |
| private void | |
| pack-priv CompletableFuture | sendBodyAsync()
Implements abstract jdk. Sends a request body, after request headers have been sent. |
| pack-priv CompletableFuture | |
| private Http3ExchangeImpl | |
| pack-priv CompletableFuture | |
| private void | |
| public void | |
| pack-priv long | streamId()
Implements abstract jdk. Returns the Quic stream id for this exchange (request/response or push response). |
| private void |