@Configurable public class SendError extends AbstractTargetDispatchRule
<web-app xmlns:resin="urn:java:com.caucho.resin"> <resin:SendError regexp="^/hidden" code="512"/> </web-app>
Constructor and Description |
---|
SendError() |
Modifier and Type | Method and Description |
---|---|
FilterChain |
createDispatch(DispatcherType type,
java.lang.String uri,
java.lang.String queryString,
java.lang.String target,
FilterChain next) |
void |
setCode(int code)
Sets the HTTP error code
|
void |
setMessage(java.lang.String message)
Sets the HTTP error message
|
getTarget, init, rewriteDefault, rewriteTarget, setAbsoluteTarget, setTarget, setTargetHost
public void setCode(int code)
public void setMessage(java.lang.String message)
public FilterChain createDispatch(DispatcherType type, java.lang.String uri, java.lang.String queryString, java.lang.String target, FilterChain next)
createDispatch
in class AbstractRegexpDispatchRule