org.mortbay.jetty.handler.rewrite
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() |
java.lang.String |
matchAndApply(java.lang.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, setRules
isHandling, isTerminating, setHandling, setTerminating, toString
public 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 java.lang.String matchAndApply(java.lang.String target, HttpServletRequest request, HttpServletResponse response) throws java.io.IOException
matchAndApply
in class RuleContainer
target
- 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 rulesjava.io.IOException
- TODOCopyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.