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