public interface RequestGlobals
Modifier and Type | Method and Description |
---|---|
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.
|
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()
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.