public class LowThreadsRuleContainer extends RuleContainer
RuleContainer for when the ThreadPool is low on threads_handled, _legacy, _originalPathAttribute, _rewritePathInfo, _rewriteRequestURI, _rules_handling, _terminating| Constructor and Description |
|---|
LowThreadsRuleContainer() |
| Modifier and Type | Method and Description |
|---|---|
org.mortbay.jetty.Server |
getServer() |
org.mortbay.thread.ThreadPool |
getThreadPool() |
String |
matchAndApply(String target,
HttpServletRequest request,
HttpServletResponse response)
Process the contained rules if the threadpool is low on threads
|
void |
setServer(org.mortbay.jetty.Server server) |
void |
setThreadPool(org.mortbay.thread.ThreadPool pool) |
addRewriteRule, addRule, apply, getOriginalPathAttribute, getRewrite, getRules, isHandled, isRewritePathInfo, isRewriteRequestURI, setHandled, setLegacyRule, setOriginalPathAttribute, setRewrite, setRewritePathInfo, setRewriteRequestURI, setRulesisHandling, isTerminating, setHandling, setTerminating, toStringpublic org.mortbay.jetty.Server getServer()
public void setServer(org.mortbay.jetty.Server server)
public org.mortbay.thread.ThreadPool getThreadPool()
public void setThreadPool(org.mortbay.thread.ThreadPool pool)
public String matchAndApply(String target, HttpServletRequest request, HttpServletResponse response) throws IOException
matchAndApply in class RuleContainertarget - target field to pass on to the contained rulesrequest - request object to pass on to the contained rulesresponse - response object to pass on to the contained rulesIOException - TODOCopyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.