org.apache.commons.jxpath.servlet
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 a ServletRequest
and ServletContext
together.
- Version:
- $Revision: 652845 $ $Date: 2008-05-02 13:46:46 -0400 (Fri, 02 May 2008) $
- Author:
- Dmitri Plotnikov
Constructor Summary |
ServletRequestAndContext(javax.servlet.ServletRequest request,
javax.servlet.ServletContext context)
Create a new ServletRequestAndContext. |
Method Summary |
javax.servlet.ServletRequest |
getServletRequest()
Get the request. |
javax.servlet.http.HttpSession |
getSession()
Get the session. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletRequestAndContext
public ServletRequestAndContext(javax.servlet.ServletRequest request,
javax.servlet.ServletContext context)
- Create a new ServletRequestAndContext.
- Parameters:
request
- ServletRequestcontext
- ServletContext
getSession
public javax.servlet.http.HttpSession getSession()
- Description copied from class:
HttpSessionAndServletContext
- Get the session.
- Overrides:
getSession
in class HttpSessionAndServletContext
- Returns:
- HttpSession
getServletRequest
public javax.servlet.ServletRequest getServletRequest()
- Get the request.
- Returns:
- ServletRequest
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.