| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| pack-priv static class | HttpClientImpl.
A DelegatingExecutor is an executor that delegates tasks to a wrapped executor when it detects that the current thread is the SelectorManager thread. |
| pack-priv static class | |
| private static class | |
| private static class | HttpClientImpl.
Tracks multiple user level registrations associated with one NIO registration (SelectionKey). |
| private static class | |
| private static class | HttpClientImpl.
This is a bit tricky: 1. |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Executor | |
| private final Authenticator | |
| private final Http2ClientImpl | |
| private final Http3ClientImpl | |
| pack-priv static final AtomicLong | |
| private final AtomicLong | |
| private final ConnectionPool | |
| private final Duration | |
| private final CookieHandler | |
| private final String | |
| pack-priv final Logger | |
| pack-priv static final boolean | |
| pack-priv final Logger | |
| pack-priv static final boolean | |
| pack-priv final Logger | |
| pack-priv static final int | |
| private final HttpClientImpl. | |
| private final WeakReference | |
| private final FilterFactory | |
| private final HttpClient. | |
| private final boolean | |
| private final boolean | |
| private final long | |
| pack-priv static final long | |
| pack-priv static final long | |
| private final WeakReference | |
| private final AtomicBoolean | |
| private final boolean | |
| private final AtomicBoolean | |
| pack-priv static final long | |
| private final InetAddress | |
| private final ConcurrentSkipListSet | |
| private final AtomicLong | |
| private final AtomicLong | |
| private final AtomicLong | |
| private final AtomicLong | |
| private final AtomicLong | |
| private final AtomicLong | |
| private final Set | |
| private final AtomicLong | |
| private final AtomicLong | |
| private final AtomicLong | |
| private final ProxySelector | |
| private final AltServicesRegistry | |
| private final HttpClientImpl. | |
| private final Thread | |
| private volatile boolean | |
| private final HttpClientImpl. | |
| private final SSLContext | |
| private final SSLParameters | |
| private final ConcurrentSkipListSet | |
| private final TreeSet | timeouts
A Set of, deadline first, ordered timeout events. |
| pack-priv static final Utils. | |
| private final ProxySelector | |
| private final HttpClient. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | |
| private void | |
| public Optional | authenticator()
Implements abstract java. Returns an |
| public boolean | awaitTermination(Duration duration)
Overrides java. Blocks until all operations have completed execution after a shutdown
request, or the |
| pack-priv void | |
| pack-priv Http2ClientImpl | |
| pack-priv Optional | |
| private void | |
| private void | |
| private static void | |
| public void | |
| public void | |
| pack-priv ConnectionPool | |
| public Optional | connectTimeout()
Implements abstract java. Returns an |
| public Optional | cookieHandler()
Implements abstract java. Returns an |
| pack-priv static HttpClientFacade | |
| pack-priv String | |
| private void | |
| pack-priv final String | |
| pack-priv void | |
| public final Optional | executor()
Implements abstract java. Returns an |
| pack-priv final HttpClientFacade | |
| pack-priv void | |
| pack-priv final List | |
| pack-priv boolean | |
| public HttpClient. | followRedirects()
Implements abstract java. Returns the follow redirects policy for this client. |
| public OperationTrackers. | |
| pack-priv int | |
| pack-priv int | |
| pack-priv BufferSupplier | |
| private static long | |
| pack-priv final long | |
| pack-priv final long | |
| pack-priv boolean | hasRequiredHTTP2TLSVersion()
Returns true if the SSL parameter protocols contains at least one TLS version that HTTP/2 requires. |
| pack-priv boolean | hasRequiredHTTP3TLSVersion()
Returns true if the SSL parameter protocols contains at least one TLS version that HTTP/3 requires. |
| pack-priv Optional | |
| private void | |
| private boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| public boolean | isTerminated()
Overrides java. Returns |
| pack-priv InetAddress | |
| public long | |
| public WebSocket. | newWebSocketBuilder()
Overrides java. Creates a new |
| pack-priv void | |
| public Optional | proxy()
Implements abstract java. Returns an |
| pack-priv ProxySelector | |
| private long | purgeTimeoutsAndReturnNextDeadline()
Purges ( handles ) timer events that have passed their deadline, and returns the amount of time, in milliseconds, until the next earliest event. |
| pack-priv final long | |
| pack-priv final long | |
| pack-priv void | |
| pack-priv static <T> CompletableFuture | |
| public boolean | Returns: true if the subscriber was added to the list.the subscriber subscriber)Adds the given subscriber to the subscribers list, or call its onError method if the client is shutting down. |
| pack-priv void | |
| pack-priv AltServicesRegistry | |
| pack-priv final long | |
| pack-priv final long | |
| pack-priv IOException | |
| public <T> HttpResponse | send(HttpRequest req, HttpResponse.
Implements abstract java. Sends the given request using this client, blocking if necessary to get the response. |
| public <T> CompletableFuture | sendAsync(HttpRequest userRequest, HttpResponse.
Implements abstract java. Sends the given request asynchronously using this client with the given response body handler. |
| public <T> CompletableFuture | sendAsync(HttpRequest userRequest, HttpResponse.
Implements abstract java. Sends the given request asynchronously using this client with the given response body handler and push promise handler. |
| private <T> CompletableFuture | sendAsync(HttpRequest userRequest, HttpResponse.
|
| public void | shutdown()
Overrides java. Initiates an orderly shutdown in which requests previously
submitted with |
| public void | shutdownNow()
Overrides java. This method attempts to initiate an immediate shutdown. |
| public SSLContext | sslContext()
Implements abstract java. Returns this client's |
| public SSLParameters | sslParameters()
Implements abstract java. Returns a copy of this client's |
| private void | |
| private void | |
| pack-priv final long | |
| pack-priv final long | |
| pack-priv final HttpClientImpl. | |
| pack-priv SSLContext | |
| private Optional | |
| pack-priv List | |
| public String | |
| private static <T> CompletableFuture | Returns: a newCompletableFuture wrapping the
sendAsync()
execution failures with, as per specification, IOException, if necessaryReturns a new |
| pack-priv final long | |
| public boolean | Returns: true if the subscriber was found and removed from the list.the subscriber subscriber)Remove the given subscriber from the subscribers list. |
| private static boolean | |
| public HttpClient. | version()
Implements abstract java. Returns the preferred HTTP protocol version for this client. |
| pack-priv final long | |
| pack-priv final long |