public interface ProxyClient
| Modifier and Type | Interface | Description |
|---|---|---|
static interface |
ProxyClient.HostProxyTarget |
|
static interface |
ProxyClient.MaxRetriesProxyTarget |
|
static interface |
ProxyClient.ProxyTarget |
An opaque interface that may contain information about the proxy target
|
| Modifier and Type | Method | Description |
|---|---|---|
ProxyClient.ProxyTarget |
findTarget(HttpServerExchange exchange) |
Finds a proxy target for this request, returning null if none can be found.
|
default List<ProxyClient.ProxyTarget> |
getAllTargets() |
|
void |
getConnection(ProxyClient.ProxyTarget target,
HttpServerExchange exchange,
ProxyCallback<ProxyConnection> callback,
long timeout,
TimeUnit timeUnit) |
Gets a proxy connection for the given request.
|
ProxyClient.ProxyTarget findTarget(HttpServerExchange exchange)
exchange - The exchangevoid getConnection(ProxyClient.ProxyTarget target, HttpServerExchange exchange, ProxyCallback<ProxyConnection> callback, long timeout, TimeUnit timeUnit)
exchange - The exchangecallback - The callbacktimeout - The timeouttimeUnit - Time unit for the timeoutdefault List<ProxyClient.ProxyTarget> getAllTargets()
Copyright © 2026 JBoss by Red Hat. All rights reserved.