public class HttpSessionAndServletContext
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private javax.servlet.ServletContext |
context |
private javax.servlet.http.HttpSession |
session |
Constructor and Description |
---|
HttpSessionAndServletContext(javax.servlet.http.HttpSession session,
javax.servlet.ServletContext context)
Create a new HttpSessionAndServletContext.
|
Modifier and Type | Method and Description |
---|---|
javax.servlet.ServletContext |
getServletContext()
Get the ServletContext.
|
javax.servlet.http.HttpSession |
getSession()
Get the session.
|
private javax.servlet.http.HttpSession session
private javax.servlet.ServletContext context