|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RequestGlobals
Service used to store the current request objects, both the Servlet API versions, and the Tapestry generic versions. The service has a per-thread scope.
Method Summary | |
---|---|
String |
getActivePageName()
Returns the active page name previously stored. |
HttpServletRequest |
getHTTPServletRequest()
The Servlet API Request. |
HttpServletResponse |
getHTTPServletResponse()
|
Request |
getRequest()
The current request. |
Response |
getResponse()
The current response. |
void |
storeActivePageName(String pageName)
Stores the canonicalized name of the active page for this request. |
void |
storeRequestResponse(Request request,
Response response)
|
void |
storeServletRequestResponse(HttpServletRequest request,
HttpServletResponse response)
Stores the servlet API request and response objects, for access via the properties. |
Method Detail |
---|
void storeServletRequestResponse(HttpServletRequest request, HttpServletResponse response)
HttpServletRequest getHTTPServletRequest()
HttpServletResponse getHTTPServletResponse()
void storeRequestResponse(Request request, Response response)
Request getRequest()
Response getResponse()
void storeActivePageName(String pageName)
pageName
- name of page (probably extracted from the URL)String getActivePageName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |