public class RouterValve
extends ValveBase
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ROUTER_CONF |
static java.lang.String |
WEB_INF |
Constructor and Description |
---|
RouterValve() |
Modifier and Type | Method and Description |
---|---|
static java.net.URL |
configurationURL(ServletContext ctx) |
void |
invoke(Request request,
Response response) |
static java.lang.String |
routerConfigurationName() |
static java.net.URL |
serverRouterConfigurationURL() |
void |
setConfigurationPath(java.net.URL configurationPath) |
void |
setPrefix(java.lang.String name) |
protected void |
startInternal() |
protected void |
stopInternal() |
public static final java.lang.String ROUTER_CONF
public static final java.lang.String WEB_INF
public void invoke(Request request, Response response) throws java.io.IOException, ServletException
java.io.IOException
ServletException
public void setConfigurationPath(java.net.URL configurationPath)
protected void startInternal() throws LifecycleException
LifecycleException
protected void stopInternal() throws LifecycleException
LifecycleException
public static java.net.URL configurationURL(ServletContext ctx)
public static java.lang.String routerConfigurationName()
public static java.net.URL serverRouterConfigurationURL()
public void setPrefix(java.lang.String name)