| Modifier and Type | Class and Description |
|---|---|
| pack-priv static interface | |
| pack-priv static record | |
| pack-priv static record | |
| pack-priv static record |
| Modifier and Type | Field and Description |
|---|---|
| private static final List | |
| pack-priv final HttpClientImpl | |
| private volatile boolean | |
| private final Http3ConnectionPool | |
| private final Logger | |
| private static final boolean | |
| private final AtomicReference | |
| private final ReentrantLock | |
| private final Set | |
| private final Set | |
| private final QuicClient | |
| private final Http3PendingConnections |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| pack-priv HttpClientImpl | |
| public void | close()
Implements java. Closes this resource, relinquishing any underlying resources. |
| private void | |
| pack-priv void | |
| private void | connectionCompleted(String connectionKey, Exchange<?> origExchange, Http3Connection conn, Throwable error)
|
| private void | connectionCompleted0(String connectionKey, Exchange<?> origExchange, Http3Connection conn, Throwable error)
|
| pack-priv String | |
| pack-priv String | |
| public Logger | |
| private static String | |
| private static String | |
| private static String | |
| private static String | |
| pack-priv Http3Connection | |
| pack-priv CompletableFuture | |
| pack-priv CompletableFuture | getConnectionFor(HttpRequestImpl request, Exchange<?> exchange, Http3ClientImpl.
|
| public boolean | |
| private static String | |
| pack-priv Optional | |
| public boolean | Returns: true if there's no h3 endpoint already registered for the given uri.the request that may go through h3 request)A direct HTTP/3 attempt may be attempted if we don't have an AltService h3 endpoint recorded for it, and if the given request URI's raw authority hasn't been marked as not supporting HTTP/3, and if the request discovery config is not ALT_SVC. |
| public void | |
| pack-priv Http3Connection | |
| pack-priv QuicClient | |
| pack-priv void | |
| public void | |
| public void | |
| private CompletableFuture | wrapForDebug(CompletableFuture<Http3Connection> h3Cf, Exchange<?> exchange, HttpRequestImpl request)
|
| availableQuicVersions | back to summary |
|---|---|
| private static final List<QuicVersion> availableQuicVersions | |
| client | back to summary |
|---|---|
| pack-priv final HttpClientImpl client | |
| closed | back to summary |
|---|---|
| private volatile boolean closed | |
| connections | back to summary |
|---|---|
| private final Http3ConnectionPool connections | |
| debug | back to summary |
|---|---|
| private final Logger debug | |
| disableHostnameVerification | back to summary |
|---|---|
| private static final boolean disableHostnameVerification | |
| errorRef | back to summary |
|---|---|
| private final AtomicReference<Throwable> errorRef | |
| lock | back to summary |
|---|---|
| private final ReentrantLock lock | |
| noH3 | back to summary |
|---|---|
| private final Set<String> noH3 | |
| pendingClose | back to summary |
|---|---|
| private final Set<Http3Connection> pendingClose | |
| quicClient | back to summary |
|---|---|
| private final QuicClient quicClient | |
| reconnections | back to summary |
|---|---|
| private final Http3PendingConnections reconnections | |
| Http3ClientImpl | back to summary |
|---|---|
| pack-priv Http3ClientImpl(HttpClientImpl client) | |
| abort | back to summary |
|---|---|
| public void abort(Throwable t) | |
| client | back to summary |
|---|---|
| pack-priv HttpClientImpl client() | |
| close | back to summary |
|---|---|
| public void close() Implements java. Doc from java. Closes this resource, relinquishing any underlying resources.
This method is invoked automatically on objects managed by the
| |
| completeWaiter | back to summary |
|---|---|
| private void completeWaiter(Logger debug, Http3ClientImpl. | |
| connectionClosed | back to summary |
|---|---|
| pack-priv void connectionClosed(Http3Connection c) | |
| connectionCompleted | back to summary |
|---|---|
| private void connectionCompleted(String connectionKey, Exchange<?> origExchange, Http3Connection conn, Throwable error) | |
| connectionCompleted0 | back to summary |
|---|---|
| private void connectionCompleted0(String connectionKey, Exchange<?> origExchange, Http3Connection conn, Throwable error) | |
| connectionKey | back to summary |
|---|---|
| pack-priv String connectionKey(HttpRequestImpl request) | |
| dbgString | back to summary |
|---|---|
| pack-priv String dbgString() | |
| debug | back to summary |
|---|---|
| public Logger debug() | |
| describe | back to summary |
|---|---|
| private static String describe(HttpRequestImpl request, long id) | |
| describe | back to summary |
|---|---|
| private static String describe(Exchange<?> exchange) | |
| describeAltSvc | back to summary |
|---|---|
| private static String describeAltSvc(Http3ClientImpl. | |
| describePendingExchange | back to summary |
|---|---|
| private static String describePendingExchange(String prefix, Http3ClientImpl. | |
| findPooledConnectionFor | back to summary |
|---|---|
| pack-priv Http3Connection findPooledConnectionFor(HttpRequestImpl request, Exchange<?> exchange) throws IOException | |
| getConnectionFor | back to summary |
|---|---|
| pack-priv CompletableFuture | |
| getConnectionFor | back to summary |
|---|---|
| pack-priv CompletableFuture | |
| hasNoH3 | back to summary |
|---|---|
| public boolean hasNoH3(String rawAuthority) Tells whether the given authority has been marked as not supporting h3
| |
| label | back to summary |
|---|---|
| private static String label(Http3Connection conn) | |
| lookupAltSvc | back to summary |
|---|---|
| pack-priv Optional | |
| mayAttemptDirectConnection | back to summary |
|---|---|
| public boolean mayAttemptDirectConnection(HttpRequestImpl request) A direct HTTP/3 attempt may be attempted if we don't have an
AltService h3 endpoint recorded for it, and if the given request
URI's raw authority hasn't been marked as not supporting HTTP/3,
and if the request discovery config is not ALT_SVC.
Note that a URI may be marked has not supporting H3 if it doesn't
acknowledge the first initial quic packet in the time defined
by
| |
| noH3 | back to summary |
|---|---|
| public void noH3(String rawAuthority) After an unsuccessful H3 direct connection attempt, mark the authority as not supporting h3.
| |
| offerConnection | back to summary |
|---|---|
| pack-priv Http3Connection offerConnection(Http3Connection c) | |
| quicClient | back to summary |
|---|---|
| pack-priv QuicClient quicClient() | |
| removeFromPool | back to summary |
|---|---|
| pack-priv void removeFromPool(Http3Connection c) | |
| stop | back to summary |
|---|---|
| public void stop() | |
| streamLimitReached | back to summary |
|---|---|
| public void streamLimitReached(Http3Connection connection, HttpRequestImpl request) | |
| wrapForDebug | back to summary |
|---|---|
| private CompletableFuture | |
| Modifier and Type | Field and Description |
|---|---|
| private final AltServicesRegistry. | |
| private final Exchange | exchange
Record Component accessed by exchange(). |
| private final ConcurrentLinkedQueue |
| Access | Constructor and Description |
|---|---|
| pack-priv | PendingConnection(AltServicesRegistry.
|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public AltServicesRegistry. | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public Exchange | |
| public final int | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| public ConcurrentLinkedQueue |
| altSvc | back to summary |
|---|---|
| private final AltServicesRegistry. Record Component accessed by altSvc(). | |
| exchange | back to summary |
|---|---|
| private final Exchange<?> exchange Record Component accessed by exchange(). | |
| waiters | back to summary |
|---|---|
| private final ConcurrentLinkedQueue<Http3ClientImpl. Record Component accessed by waiters(). | |
| PendingConnection | back to summary |
|---|---|
| pack-priv PendingConnection(AltServicesRegistry. | |
| PendingConnection | back to summary |
|---|---|
| pack-priv PendingConnection(AltServicesRegistry. | |
| altSvc | back to summary |
|---|---|
| public AltServicesRegistry. Record Component getter of altSvc. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| exchange | back to summary |
|---|---|
| public Exchange Record Component getter of exchange. | |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| waiters | back to summary |
|---|---|
| public ConcurrentLinkedQueue Record Component getter of waiters. | |
| Modifier and Type | Field and Description |
|---|---|
| private final Http3Connection | connection
Record Component accessed by connection(). |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Http3Connection | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| connection | back to summary |
|---|---|
| private final Http3Connection connection Record Component accessed by connection(). | |
| StreamLimitReached | back to summary |
|---|---|
| pack-priv StreamLimitReached(Http3Connection connection) | |
| connection | back to summary |
|---|---|
| public Http3Connection connection() Record Component getter of connection. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| Modifier and Type | Field and Description |
|---|---|
| private final MinimalFuture | |
| private final Exchange | exchange
Record Component accessed by exchange(). |
| private final HttpRequestImpl |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public MinimalFuture | |
| pack-priv void | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public Exchange | |
| public final int | |
| pack-priv static Http3ClientImpl. | |
| public HttpRequestImpl | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| cf | back to summary |
|---|---|
| private final MinimalFuture<Http3Connection> cf Record Component accessed by cf(). | |
| exchange | back to summary |
|---|---|
| private final Exchange<?> exchange Record Component accessed by exchange(). | |
| request | back to summary |
|---|---|
| private final HttpRequestImpl request Record Component accessed by request(). | |
| Waiter | back to summary |
|---|---|
| pack-priv Waiter(MinimalFuture<Http3Connection> cf, HttpRequestImpl request, Exchange<?> exchange) | |
| cf | back to summary |
|---|---|
| public MinimalFuture Record Component getter of cf. | |
| complete | back to summary |
|---|---|
| pack-priv void complete(Http3Connection conn, Throwable error) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| exchange | back to summary |
|---|---|
| public Exchange Record Component getter of exchange. | |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| of | back to summary |
|---|---|
| pack-priv static Http3ClientImpl. | |
| request | back to summary |
|---|---|
| public HttpRequestImpl request() Record Component getter of request. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |