All Methods Instance Methods Concrete Methods Modifier and Type | Method and Description |
LoadBalancingProxyClient | addHost(InetSocketAddress bindAddress, URI host, String jvmRoute, org.xnio.ssl.XnioSsl ssl, org.xnio.OptionMap options) |
LoadBalancingProxyClient | addHost(URI host) |
LoadBalancingProxyClient | addHost(URI host, String jvmRoute) |
LoadBalancingProxyClient | addHost(URI host, String jvmRoute, org.xnio.ssl.XnioSsl ssl) |
LoadBalancingProxyClient | addHost(URI host, String jvmRoute, org.xnio.ssl.XnioSsl ssl, org.xnio.OptionMap options) |
LoadBalancingProxyClient | addHost(URI host, org.xnio.ssl.XnioSsl ssl) |
LoadBalancingProxyClient | addSessionCookieName(String sessionCookieName) |
void | closeCurrentConnections() Should only be used for tests DO NOT CALL THIS METHOD WHEN REQUESTS ARE IN PROGRESS It is not thread safe so internal state can get messed up. |
ProxyClient.ProxyTarget | findTarget(HttpServerExchange exchange) Finds a proxy target for this request, returning null if none can be found. |
void | getConnection(ProxyClient.ProxyTarget target, HttpServerExchange exchange, ProxyCallback<ProxyConnection> callback, long timeout, TimeUnit timeUnit) Gets a proxy connection for the given request. |
int | getConnectionsPerThread() |
int | getMaxQueueSize() |
int | getProblemServerRetry() |
protected Iterator<CharSequence> | parseRoutes(HttpServerExchange exchange) |
LoadBalancingProxyClient | removeHost(URI uri) |
LoadBalancingProxyClient | removeSessionCookieName(String sessionCookieName) |
protected LoadBalancingProxyClient.Host | selectHost(HttpServerExchange exchange) |
LoadBalancingProxyClient | setConnectionsPerThread(int connectionsPerThread) |
LoadBalancingProxyClient | setMaxQueueSize(int maxQueueSize) |
LoadBalancingProxyClient | setProblemServerRetry(int problemServerRetry) |
LoadBalancingProxyClient | setRankedRoutingDelimiter(String rankedRoutingDelimiter) Configures ranked route delimiter, enabling ranked routing parsing strategy. |
LoadBalancingProxyClient | setRouteParsingStrategy(RouteParsingStrategy routeParsingStrategy) |
LoadBalancingProxyClient | setSoftMaxConnectionsPerThread(int softMaxConnectionsPerThread) |
LoadBalancingProxyClient | setTtl(int ttl) |