|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.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 context| Method Detail |
public java.lang.Object getAttribute(java.lang.String name,
HttpScope scope)
HttpContext
getAttribute in interface HttpContextname - the attribute namescope - the scope to search
nullHttpContext.getAttribute(java.lang.String,
com.cc.framework.http.HttpScope)public javax.servlet.ServletContext getServletContext()
HttpContext
getServletContext in interface HttpContextHttpContext.getServletContext()public javax.servlet.http.HttpServletRequest request()
HttpContext
request in interface HttpContextHttpContext.request()public javax.servlet.http.HttpServletResponse response()
HttpContext
response in interface HttpContextHttpContext.response()public javax.servlet.http.HttpSession session()
HttpContext
session in interface HttpContextHttpContext.session()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||