|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRequestHandler
Interface for request handlers.
Description:
Interface that describes the methods that a RequestHandler object must implement
Concurrency issues:
-
| Method Summary | |
|---|---|
void |
destroy()
Removes the class objects from memory. |
java.lang.String |
getID()
Returns the RequestHandler unique ID. |
java.util.regex.Pattern |
getPattern()
Returns the regular expression configured for this ReuqestHandler. |
void |
init(javax.servlet.ServletConfig oServletConfig,
java.lang.Object oConfig)
Initializes the Request Handler. |
RequestState |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes the request. |
| Method Detail |
|---|
void init(javax.servlet.ServletConfig oServletConfig,
java.lang.Object oConfig)
throws ASelectException
oServletConfig - Servlet Config of the Parent servletoConfig - Object containing the RequestHandler configuration
ASelectException - if initalization fails
RequestState process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws ASelectException
HttpServletRequest and sends
the response to the HttpServletResponse
request - HttpServletRequest containing the requestresponse - HttpServletResponse containing the response
ASelectException - if the request couldn't be processedjava.lang.String getID()
java.util.regex.Pattern getPattern()
void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||