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.
|
getServletContext
public ServletRequestAndContext(ServletRequest request, ServletContext context)
request
- ServletRequestcontext
- ServletContextpublic HttpSession getSession()
HttpSessionAndServletContext
getSession
in class HttpSessionAndServletContext
public ServletRequest getServletRequest()
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.