Class HttpSessionAndServletContext
java.lang.Object
org.apache.commons.jxpath.servlet.HttpSessionAndServletContext
- Direct Known Subclasses:
ServletRequestAndContext
Just a structure to hold a ServletRequest and ServletContext together.
-
Constructor Summary
ConstructorsConstructorDescriptionHttpSessionAndServletContext
(HttpSession session, ServletContext context) Constructs a new HttpSessionAndServletContext. -
Method Summary
Modifier and TypeMethodDescriptionGets the ServletContext.Gets the session.
-
Constructor Details
-
HttpSessionAndServletContext
Constructs a new HttpSessionAndServletContext.- Parameters:
session
- HttpSessioncontext
- ServletContext
-
-
Method Details
-
getServletContext
Gets the ServletContext.- Returns:
- ServletContext
-
getSession
Gets the session.- Returns:
- HttpSession
-