|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Dispatcher
Controls the dispatching of incoming HTTP requests.
Method Summary | |
---|---|
boolean |
dispatch(RequestImpl req,
ResponseImpl rsp,
java.lang.Object node)
Trys to handle the given request and returns true if it succeeds. |
Method Detail |
---|
boolean dispatch(RequestImpl req, ResponseImpl rsp, java.lang.Object node) throws java.io.IOException, javax.servlet.ServletException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
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.
java.io.IOException
javax.servlet.ServletException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |