|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ora.jsp.beans.debug.DebugBean
This class is a bean that can be used to extract debug information from a JSP PageContext.
Field Summary | |
private javax.servlet.ServletContext |
context
|
private java.lang.String |
debugType
|
private javax.servlet.jsp.PageContext |
pageContext
|
Constructor Summary | |
DebugBean()
|
Method Summary | |
java.util.Map |
getApplicationScope()
Returns a Map with all application scope variables. |
java.util.Map |
getCookies()
Returns a Map with all cookie information. |
java.util.Map |
getHeaders()
Returns a Map with all header information. |
java.util.Map |
getPageScope()
Returns a Map with all page scope variables. |
java.util.Map |
getParams()
Returns a Map with all request parameter information. |
java.util.Map |
getRequestInfo()
Returns a Map with all basic request information. |
java.util.Map |
getRequestScope()
Returns a Map with all request scope variables. |
java.util.Map |
getSessionScope()
Returns a Map with all session scope variables. |
private java.lang.String |
nullToString(java.lang.String value)
Returns the String "null" if the value is null, otherwise the value itself. |
void |
setPageContext(javax.servlet.jsp.PageContext pageContext)
Sets the pageContext property. |
private java.lang.String |
toStringValue(java.lang.Object value)
Returns a String representation of the specified Object, in a format suitable for debug output. |
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
private java.lang.String debugType
private javax.servlet.ServletContext context
Constructor Detail |
public DebugBean()
Method Detail |
public void setPageContext(javax.servlet.jsp.PageContext pageContext)
public java.util.Map getRequestInfo()
public java.util.Map getHeaders()
public java.util.Map getCookies()
public java.util.Map getParams()
public java.util.Map getRequestScope()
public java.util.Map getPageScope()
public java.util.Map getSessionScope()
public java.util.Map getApplicationScope()
private java.lang.String nullToString(java.lang.String value)
private java.lang.String toStringValue(java.lang.Object value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |