|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 RequestGlobals
public HttpServletRequest getHTTPServletRequest()
RequestGlobals
getHTTPServletRequest
in interface RequestGlobals
public HttpServletResponse getHTTPServletResponse()
getHTTPServletResponse
in interface RequestGlobals
public void storeRequestResponse(Request request, Response response)
storeRequestResponse
in interface RequestGlobals
public Request getRequest()
RequestGlobals
getRequest
in interface RequestGlobals
public Response getResponse()
RequestGlobals
getResponse
in interface RequestGlobals
public String getActivePageName()
RequestGlobals
getActivePageName
in interface RequestGlobals
public void storeActivePageName(String pageName)
RequestGlobals
storeActivePageName
in interface RequestGlobals
pageName
- name of page (probably extracted from the URL)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |