Class ServletRequestAndContext
java.lang.Object
org.apache.commons.jxpath.servlet.HttpSessionAndServletContext
org.apache.commons.jxpath.servlet.ServletRequestAndContext
Just a structure to hold a
ServletRequest
and ServletContext
together.-
Constructor Summary
ConstructorsConstructorDescriptionServletRequestAndContext
(ServletRequest request, ServletContext context) Constructs a new ServletRequestAndContext. -
Method Summary
Modifier and TypeMethodDescriptionGets the request.Gets the session.Methods inherited from class org.apache.commons.jxpath.servlet.HttpSessionAndServletContext
getServletContext
-
Constructor Details
-
ServletRequestAndContext
Constructs a new ServletRequestAndContext.- Parameters:
request
- ServletRequestcontext
- ServletContext
-
-
Method Details
-
getServletRequest
Gets the request.- Returns:
- ServletRequest
-
getSession
Description copied from class:HttpSessionAndServletContext
Gets the session.- Overrides:
getSession
in classHttpSessionAndServletContext
- Returns:
- HttpSession
-