public class ServletRequestAndContext extends HttpSessionAndServletContext
ServletRequest and ServletContext
together.| Constructor and Description |
|---|
ServletRequestAndContext(ServletRequest request,
ServletContext context)
Create a new ServletRequestAndContext.
|
| Modifier and Type | Method and Description |
|---|---|
ServletRequest |
getServletRequest()
Get the request.
|
HttpSession |
getSession()
Get the session.
|
getServletContextpublic ServletRequestAndContext(ServletRequest request, ServletContext context)
request - ServletRequestcontext - ServletContextpublic HttpSession getSession()
HttpSessionAndServletContextgetSession in class HttpSessionAndServletContextpublic ServletRequest getServletRequest()
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.