@Configurable public class FastCgiProxy extends AbstractTargetDispatchRule
<web-app xmlns:resin="urn:java:com.caucho.resin">
<resin:FastCgiProxy regexp="^/remote">
<address>127.0.0.1:8080</address>
</resin:FastCgiProxy>
</web-app>
| Modifier and Type | Class and Description |
|---|---|
static class |
FastCgiProxy.ProxyFilterChain |
static class |
FastCgiProxy.ProxyRequest |
| Constructor and Description |
|---|
FastCgiProxy() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAddress(java.lang.String address)
Adds a backend FastCGI server address like "127.0.0.1:8081"
|
FilterChain |
createDispatch(DispatcherType type,
java.lang.String uri,
java.lang.String queryString,
java.lang.String target,
FilterChain next) |
void |
init() |
void |
setFailRecoverTime(Period period)
Sets the timeout to recover from a failed connection to the backend.
|
getTarget, rewriteDefault, rewriteTarget, setAbsoluteTarget, setTarget, setTargetHost@Configurable public void addAddress(java.lang.String address)
address - the backend address likst "127.0.0.1:8081"@Configurable public void setFailRecoverTime(Period period)
period - the recover timeout@PostConstruct public void init() throws ConfigException
init in class AbstractTargetDispatchRuleConfigExceptionpublic FilterChain createDispatch(DispatcherType type, java.lang.String uri, java.lang.String queryString, java.lang.String target, FilterChain next)
createDispatch in class AbstractRegexpDispatchRule