public interface ConditionalServlet
service.ranking order until one of them
returns true.| Modifier and Type | Method and Description |
|---|---|
boolean |
doConditionalService(HttpServletRequest rq,
HttpServletResponse rsp)
The called servlet can execute the given request if it recognizes the
requested URI or it can return false when it could not recognize the URI.
|
boolean doConditionalService(HttpServletRequest rq,
HttpServletResponse rsp)
throws java.lang.Exception
If this method throws an exception it will be logged and removed from the list. The request is assumed to have returned false in that case.
rq - The servlet requestrsp - The servlet responsefalse otherwise.java.lang.Exception - If thrown, the request is called and the servlet is
removed from the list of to be called services until
re-registered.aQute SARL All Rights Reserved