|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RequestHandler
The request handler interface.
![]() |
![]() |
| Method Summary | |
|---|---|
java.lang.String |
getExplicitDSN()
Returns the explicit data source name, or null is the explicit DSN has not been set. |
void |
init(RequestController requestController)
|
void |
onChainCompleted(RequestHandler lastRequestHandler,
boolean success)
This method is called on each request handler in the request handler chain after the last request handler has been called. |
boolean |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
RequestHandlerChain requestChain)
|
void |
setActionName(java.lang.String name)
Sets the value of the request action associated with this handler. |
void |
setExplicitDSN(java.lang.String dsn)
Sets the explicit data source name. |
| Method Detail |
|---|
java.lang.String getExplicitDSN()
void init(RequestController requestController)
void onChainCompleted(RequestHandler lastRequestHandler,
boolean success)
lastRequestHandler - the request handler where chain processing completedsuccess - true if the last request handler has completed successfully
boolean service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
RequestHandlerChain requestChain)
throws java.lang.Exception
java.lang.Exceptionvoid setExplicitDSN(java.lang.String dsn)
dsn - the data source namevoid setActionName(java.lang.String name)
name - the new request name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||