|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.services.RequestGlobalsImpl
@Scope(value="perthread") public class RequestGlobalsImpl
Dumb data holder for per-request data.
| Constructor Summary | |
|---|---|
RequestGlobalsImpl()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequestGlobalsImpl()
| Method Detail |
|---|
public void storeServletRequestResponse(HttpServletRequest request,
HttpServletResponse response)
RequestGlobals
storeServletRequestResponse in interface RequestGlobalspublic HttpServletRequest getHTTPServletRequest()
RequestGlobals
getHTTPServletRequest in interface RequestGlobalspublic HttpServletResponse getHTTPServletResponse()
getHTTPServletResponse in interface RequestGlobals
public void storeRequestResponse(Request request,
Response response)
storeRequestResponse in interface RequestGlobalspublic Request getRequest()
RequestGlobals
getRequest in interface RequestGlobalspublic Response getResponse()
RequestGlobals
getResponse in interface RequestGlobalspublic String getActivePageName()
RequestGlobals
getActivePageName in interface RequestGlobalspublic void storeActivePageName(String pageName)
RequestGlobals
storeActivePageName in interface RequestGlobalspageName - name of page (probably extracted from the URL)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||