org.apache.commons.jxpath.servlet
Class HttpSessionAndServletContext

java.lang.Object
  extended byorg.apache.commons.jxpath.servlet.HttpSessionAndServletContext
Direct Known Subclasses:
ServletRequestAndContext

public class HttpSessionAndServletContext
extends java.lang.Object

Just a structure to hold a ServletRequest and ServletContext together.

Version:
$Revision: 1.1 $ $Date: 2004/05/08 15:10:49 $
Author:
Dmitri Plotnikov

Field Summary
private  javax.servlet.ServletContext context
           
private  javax.servlet.http.HttpSession session
           
 
Constructor Summary
HttpSessionAndServletContext(javax.servlet.http.HttpSession session, javax.servlet.ServletContext context)
           
 
Method Summary
 javax.servlet.ServletContext getServletContext()
           
 javax.servlet.http.HttpSession getSession()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

session

private javax.servlet.http.HttpSession session

context

private javax.servlet.ServletContext context
Constructor Detail

HttpSessionAndServletContext

public HttpSessionAndServletContext(javax.servlet.http.HttpSession session,
                                    javax.servlet.ServletContext context)
Method Detail

getSession

public javax.servlet.http.HttpSession getSession()

getServletContext

public javax.servlet.ServletContext getServletContext()