Package org.kohsuke.stapler
Class HttpDeletable.HttpDeletableDispatcher
java.lang.Object
org.kohsuke.stapler.Dispatcher
org.kohsuke.stapler.HttpDeletable.HttpDeletableDispatcher
- Enclosing interface:
- HttpDeletable
Dispatcher
that processes HttpDeletable
-
Field Summary
Fields inherited from class org.kohsuke.stapler.Dispatcher
TRACE, TRACE_PER_REQUEST
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
dispatch
(RequestImpl req, ResponseImpl rsp, Object node) Tries to handle the given request and returns true if it succeeds.toString()
Diagnostic string that explains this dispatch rule.Methods inherited from class org.kohsuke.stapler.Dispatcher
anonymizedTraceEval, isTraceEnabled, trace, trace, traceable, traceEval, traceEval, traceEval
-
Constructor Details
-
HttpDeletableDispatcher
public HttpDeletableDispatcher()
-
-
Method Details
-
dispatch
public boolean dispatch(RequestImpl req, ResponseImpl rsp, Object node) throws IOException, jakarta.servlet.ServletException, IllegalAccessException, InvocationTargetException Description copied from class:Dispatcher
Tries to handle the given request and returns true if it succeeds. Otherwise false.We have a few known strategies for handling requests (for example, one is to try to treat the request as JSP invocation, another might be try getXXX(), etc) So we use a list of
Dispatcher
and try them one by one until someone returns true.- Specified by:
dispatch
in classDispatcher
- Throws:
IOException
jakarta.servlet.ServletException
IllegalAccessException
InvocationTargetException
-
toString
Description copied from class:Dispatcher
Diagnostic string that explains this dispatch rule.- Specified by:
toString
in classDispatcher
-