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.
- Version:
- $Revision: 604304 $ $Date: 2007-12-14 15:31:19 -0600 (Fri, 14 Dec 2007) $
- Author:
- Dmitri Plotnikov
-
Constructor Summary
ConstructorsConstructorDescriptionHttpSessionAndServletContext
(javax.servlet.http.HttpSession session, javax.servlet.ServletContext context) Create a new HttpSessionAndServletContext. -
Method Summary
Modifier and TypeMethodDescriptionjavax.servlet.ServletContext
Get the ServletContext.javax.servlet.http.HttpSession
Get the session.
-
Constructor Details
-
HttpSessionAndServletContext
public HttpSessionAndServletContext(javax.servlet.http.HttpSession session, javax.servlet.ServletContext context) Create a new HttpSessionAndServletContext.- Parameters:
session
- HttpSessioncontext
- ServletContext
-
-
Method Details
-
getSession
Get the session.- Returns:
- HttpSession
-
getServletContext
Get the ServletContext.- Returns:
- ServletContext
-