public class HttpSessionAndServletContext extends Object
Constructor and Description |
---|
HttpSessionAndServletContext(HttpSession session,
ServletContext context)
Create a new HttpSessionAndServletContext.
|
Modifier and Type | Method and Description |
---|---|
ServletContext |
getServletContext()
Get the ServletContext.
|
HttpSession |
getSession()
Get the session.
|
public HttpSessionAndServletContext(HttpSession session, ServletContext context)
session
- HttpSessioncontext
- ServletContextpublic HttpSession getSession()
public ServletContext getServletContext()
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.