| Modifier and Type | Field and Description |
|---|---|
| pack-priv final AtomicReference | |
| pack-priv static final AtomicReference | |
| pack-priv static final BiFunction |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static void | disposeLoopsAndConnections()
Hides reactor. HttpResources without resetting them,
effectively cleaning up associated resources without creating new ones.
|
| public static Mono | disposeLoopsAndConnectionsLater()
Hides reactor. HttpResources without resetting them,
effectively cleaning up associated resources without creating new ones.
|
| public static Mono | disposeLoopsAndConnectionsLater(Duration
the quiet period as described above quietPeriod, Duration the maximum amount of time to wait until the disposal of the underlying
LoopResources regardless if a task was submitted during the quiet period timeout)Hides reactor. HttpResources without resetting them,
effectively cleaning up associated resources without creating new ones.
|
| public void | disposeWhen(SocketAddress
the remote address remoteAddress)Overrides reactor. Overrides default reactor. |
| public static HttpResources | Returns: the global HTTP resources for event loops and pooling |
| public AddressResolverGroup | getOrCreateDefaultResolver()
Overrides reactor. |
| public ConnectionProvider | Returns: an existing or newConnectionProvider for HTTP/2 trafficthe create function provides the current create)ConnectionProvider for HTTP/1.1 traffic
in case some ConnectionProvider configuration is needed.Safely checks whether a |
| public static HttpResources | Returns: the global HTTP resources |
| public static HttpResources | Returns: the global HTTP/1.x resourcesa new provider)
Update pooling resources and return the global HTTP/1.x resources.
ConnectionProvider to replace the current |
| public static HttpResources | Returns: the global HTTP/1.x resourcesa new loops)
Update event loops resources and return the global HTTP/1.x resources.
LoopResources to replace the current |
| http2ConnectionProvider | back to summary |
|---|---|
| pack-priv final AtomicReference<ConnectionProvider> http2ConnectionProvider | |
| httpResources | back to summary |
|---|---|
| pack-priv static final AtomicReference<HttpResources> httpResources | |
| ON_HTTP_NEW | back to summary |
|---|---|
| pack-priv static final BiFunction<LoopResources, ConnectionProvider, HttpResources> ON_HTTP_NEW | |
| HttpResources | back to summary |
|---|---|
| pack-priv HttpResources(LoopResources loops, ConnectionProvider provider) | |
| disposeLoopsAndConnections | back to summary |
|---|---|
| public static void disposeLoopsAndConnections() Hides reactor. Shutdown the global | |
| disposeLoopsAndConnectionsLater | back to summary |
|---|---|
| public static Mono Hides reactor. Prepare to shutdown the global
| |
| disposeLoopsAndConnectionsLater | back to summary |
|---|---|
| public static Mono Hides reactor. Prepare to shutdown the global
| |
| disposeWhen | back to summary |
|---|---|
| public void disposeWhen(SocketAddress remoteAddress) Overrides reactor. Overrides default reactor. Doc from reactor. Dispose all connection pools for the specified remote address.
As opposed to
| |
| get | back to summary |
|---|---|
| public static HttpResources get() Hides reactor. Return the global HTTP resources for event loops and pooling
| |
| getOrCreateDefaultResolver | back to summary |
|---|---|
| public AddressResolverGroup Overrides reactor. Doc from reactor. Safely checks whether a name resolver exists and proceed with a creation if it does not exist.
The name resolver uses as an event loop group the
| |
| getOrCreateHttp2ConnectionProvider | back to summary |
|---|---|
| public ConnectionProvider getOrCreateHttp2ConnectionProvider(Function<ConnectionProvider, ConnectionProvider> create) Safely checks whether a
| |
| reset | back to summary |
|---|---|
| public static HttpResources reset() Hides reactor. Reset http resources to default and return its instance
| |
| set | back to summary |
|---|---|
| public static HttpResources set(ConnectionProvider provider) Hides reactor. Update pooling resources and return the global HTTP/1.x resources. Note The previous
| |
| set | back to summary |
|---|---|
| public static HttpResources set(LoopResources loops) Hides reactor. Update event loops resources and return the global HTTP/1.x resources. Note The previous
| |