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 aServletRequestandServletContexttogether.- Version:
- $Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
- Author:
- Dmitri Plotnikov
-
-
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.ServletRequestgetServletRequest()Get the request.javax.servlet.http.HttpSessiongetSession()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:HttpSessionAndServletContextGet the session.- Overrides:
getSessionin classHttpSessionAndServletContext- Returns:
- HttpSession
-
getServletRequest
public javax.servlet.ServletRequest getServletRequest()
Get the request.- Returns:
- ServletRequest
-
-