Class ServletRequestAndContext
- java.lang.Object
-
- org.apache.commons.jxpath.servlet.HttpSessionAndServletContext
-
- org.apache.commons.jxpath.servlet.ServletRequestAndContext
-
public class ServletRequestAndContext extends HttpSessionAndServletContext
Just a structure to hold aServletRequest
andServletContext
together.- Version:
- $Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
- Author:
- Dmitri Plotnikov
-
-
Field Summary
Fields Modifier and Type Field Description private javax.servlet.ServletRequest
request
-
Constructor Summary
Constructors Constructor Description ServletRequestAndContext(javax.servlet.ServletRequest request, javax.servlet.ServletContext context)
Create a new ServletRequestAndContext.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.servlet.ServletRequest
getServletRequest()
Get the request.javax.servlet.http.HttpSession
getSession()
Get the session.-
Methods inherited from class org.apache.commons.jxpath.servlet.HttpSessionAndServletContext
getServletContext
-
-
-
-
Method Detail
-
getSession
public javax.servlet.http.HttpSession getSession()
Description copied from class:HttpSessionAndServletContext
Get the session.- Overrides:
getSession
in classHttpSessionAndServletContext
- Returns:
- HttpSession
-
getServletRequest
public javax.servlet.ServletRequest getServletRequest()
Get the request.- Returns:
- ServletRequest
-
-