public class ReverseProxy<T extends ReverseProxy<T>> extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ReverseProxy.ReverseProxyResources
Child mutators for ReverseProxy 
 | 
| Constructor and Description | 
|---|
ReverseProxy(String key)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener 
 | 
Integer | 
cachedConnectionsPerThread()
The number of connections that will be kept alive indefinitely 
 | 
T | 
cachedConnectionsPerThread(Integer value)
The number of connections that will be kept alive indefinitely 
 | 
Integer | 
connectionIdleTimeout()
The amount of time a connection can be idle before it will be closed. 
 | 
T | 
connectionIdleTimeout(Integer value)
The amount of time a connection can be idle before it will be closed. 
 | 
Integer | 
connectionsPerThread()
The number of connections that will be maintained to backend servers, per
 IO thread. 
 | 
T | 
connectionsPerThread(Integer value)
The number of connections that will be maintained to backend servers, per
 IO thread. 
 | 
String | 
getKey()  | 
T | 
host(Host value)
Add the Host object to the list of subresources 
 | 
T | 
host(HostSupplier supplier)
Install a supplied Host object to the list of subresources 
 | 
T | 
host(String childKey)
Create and configure a Host object to the list of subresources 
 | 
T | 
host(String childKey,
    HostConsumer consumer)
Create and configure a Host object to the list of subresources 
 | 
T | 
hosts(List<Host> value)
Add all Host objects to this subresource 
 | 
Integer | 
maxRequestTime()
The maximum time that a proxy request can be active for, before being
 killed 
 | 
T | 
maxRequestTime(Integer value)
The maximum time that a proxy request can be active for, before being
 killed 
 | 
Integer | 
maxRetries()
The number of times to attempt to retry a request if it fails. 
 | 
T | 
maxRetries(Integer value)
The number of times to attempt to retry a request if it fails. 
 | 
Integer | 
problemServerRetry()
Time in seconds to wait before attempting to reconnect to a server that
 is down 
 | 
T | 
problemServerRetry(Integer value)
Time in seconds to wait before attempting to reconnect to a server that
 is down 
 | 
void | 
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener 
 | 
Integer | 
requestQueueSize()
The number of requests that can be queued if the connection pool is full
 before requests are rejected with a 503 
 | 
T | 
requestQueueSize(Integer value)
The number of requests that can be queued if the connection pool is full
 before requests are rejected with a 503 
 | 
String | 
sessionCookieNames()
Comma separated list of session cookie names. 
 | 
T | 
sessionCookieNames(String value)
Comma separated list of session cookie names. 
 | 
ReverseProxy.ReverseProxyResources | 
subresources()  | 
public ReverseProxy(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public ReverseProxy.ReverseProxyResources subresources()
public T hosts(List<Host> value)
value - List of Host objects.public T host(Host value)
value - The Host to addpublic T host(String childKey, HostConsumer consumer)
key - The key for the Host resourceconfig - The HostConsumer to usepublic T host(String childKey)
key - The key for the Host resourcepublic T host(HostSupplier supplier)
public Integer cachedConnectionsPerThread()
public T cachedConnectionsPerThread(Integer value)
public Integer connectionIdleTimeout()
public T connectionIdleTimeout(Integer value)
public Integer connectionsPerThread()
public T connectionsPerThread(Integer value)
public Integer maxRequestTime()
public T maxRequestTime(Integer value)
public Integer maxRetries()
public T maxRetries(Integer value)
public Integer problemServerRetry()
public T problemServerRetry(Integer value)
public Integer requestQueueSize()
public T requestQueueSize(Integer value)
public String sessionCookieNames()
Copyright © 2019 JBoss by Red Hat. All rights reserved.