|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.http.PageContextAdapter
Adapts the PageContext to the HttpContext interface
Field Summary | |
private javax.servlet.jsp.PageContext |
pageContext
The JSP page context |
Constructor Summary | |
PageContextAdapter(javax.servlet.jsp.PageContext pageContext)
Constructor |
Method Summary | |
java.lang.Object |
getAttribute(java.lang.String name,
HttpScope scope)
Returns the attribute with the given name from the specified scope |
javax.servlet.ServletContext |
getServletContext()
Returns the Servlet Context |
javax.servlet.http.HttpServletRequest |
request()
Returns the HTTP Request |
javax.servlet.http.HttpServletResponse |
response()
Returns the HTTP Response |
javax.servlet.http.HttpSession |
session()
Gets the session object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private javax.servlet.jsp.PageContext pageContext
Constructor Detail |
public PageContextAdapter(javax.servlet.jsp.PageContext pageContext)
pageContext
- The JSP page contextMethod Detail |
public java.lang.Object getAttribute(java.lang.String name, HttpScope scope)
HttpContext
getAttribute
in interface HttpContext
name
- the attribute namescope
- the scope to search
null
HttpContext.getAttribute(java.lang.String,
com.cc.framework.http.HttpScope)
public javax.servlet.ServletContext getServletContext()
HttpContext
getServletContext
in interface HttpContext
HttpContext.getServletContext()
public javax.servlet.http.HttpServletRequest request()
HttpContext
request
in interface HttpContext
HttpContext.request()
public javax.servlet.http.HttpServletResponse response()
HttpContext
response
in interface HttpContext
HttpContext.response()
public javax.servlet.http.HttpSession session()
HttpContext
session
in interface HttpContext
HttpContext.session()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |