|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.dbpool.info.JspPageHandler
public class JspPageHandler
Helper class to reduce the horrible code in pool.jsp, without having to copy multiple parts.
Constructor Summary | |
---|---|
JspPageHandler(javax.servlet.jsp.JspWriter out,
javax.servlet.http.HttpServletRequest request,
java.lang.String jspname)
|
Method Summary | |
---|---|
void |
actionClearglobal()
|
void |
actionErrorsoff()
|
void |
actionErrorson()
|
void |
actionForceexpired()
|
void |
actionSessionoff()
|
void |
actionSessionon()
|
void |
actionTag(ConnectionPool pool,
java.lang.String action,
java.lang.String text)
|
void |
actionTraceoff()
|
void |
actionTraceon()
Switch on tracing if disabled. |
void |
addError(java.lang.String msg)
|
void |
addMessage(java.lang.String msg)
|
void |
atag(java.lang.String contents,
java.lang.String... args)
|
JspPageHandler |
attr(java.lang.String name,
java.lang.String value)
|
void |
backlink()
|
void |
displayPage()
|
void |
etag(java.lang.String name)
|
void |
expandTemplate(java.lang.String name,
java.lang.Object... values)
Expand a fragment template. |
void |
expandTemplate2(java.lang.String name,
java.lang.Object... values)
|
JspPageHandler |
full(java.lang.String name,
java.lang.String... attr)
|
void |
generateRefresh()
Called from page to generate the refresh tag if needed. |
java.lang.String |
getMessage()
|
javax.servlet.jsp.JspWriter |
getOut()
|
ConnectionPool |
getPool()
|
javax.servlet.http.HttpServletRequest |
getRequest()
|
void |
h1(java.lang.String text)
|
void |
initialize()
Decode all parameters and define the action to take. |
JspPageHandler |
nl()
|
long |
now()
|
java.lang.String |
odd()
|
void |
showGloballist()
|
void |
showGlobalstats()
Show statistics page displaying the list of all available statistics. |
void |
showHanging()
Displays all currently hanging connections as an expandable thingerydoo |
void |
showIndex()
Root page code- show all available pools. |
void |
showSession()
Show the list of request traces in the session structure. |
void |
showSessionstat()
|
void |
showTag(ConnectionPool pool,
java.lang.String action,
java.lang.String text)
|
void |
showUsed()
Displays all currently used connections as an expandable thingerydoo |
void |
tag(java.lang.String name,
java.lang.String... attr)
Generate an html tag and any optional attributes. |
JspPageHandler |
tagText(java.lang.String tag,
java.lang.String text,
java.lang.String... attr)
|
JspPageHandler |
text(java.lang.String text)
|
void |
write(java.lang.String s)
|
void |
writeExpr(java.lang.Object o)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JspPageHandler(javax.servlet.jsp.JspWriter out, javax.servlet.http.HttpServletRequest request, java.lang.String jspname)
Method Detail |
---|
public javax.servlet.jsp.JspWriter getOut()
public javax.servlet.http.HttpServletRequest getRequest()
public ConnectionPool getPool()
public java.lang.String getMessage()
public void addMessage(java.lang.String msg)
public void addError(java.lang.String msg)
public void initialize() throws java.lang.Exception
java.lang.Exception
public void displayPage() throws java.lang.Exception
java.lang.Exception
public void generateRefresh() throws java.io.IOException
java.io.IOException
public void tag(java.lang.String name, java.lang.String... attr) throws java.io.IOException
name
- attr
-
java.io.IOException
public void etag(java.lang.String name) throws java.io.IOException
java.io.IOException
public JspPageHandler full(java.lang.String name, java.lang.String... attr) throws java.io.IOException
java.io.IOException
public JspPageHandler text(java.lang.String text) throws java.io.IOException
java.io.IOException
public JspPageHandler tagText(java.lang.String tag, java.lang.String text, java.lang.String... attr) throws java.io.IOException
java.io.IOException
public JspPageHandler nl() throws java.io.IOException
java.io.IOException
public JspPageHandler attr(java.lang.String name, java.lang.String value) throws java.io.IOException
java.io.IOException
public void h1(java.lang.String text) throws java.io.IOException
java.io.IOException
public void actionTag(ConnectionPool pool, java.lang.String action, java.lang.String text) throws java.io.IOException
java.io.IOException
public void showTag(ConnectionPool pool, java.lang.String action, java.lang.String text) throws java.io.IOException
java.io.IOException
public void atag(java.lang.String contents, java.lang.String... args) throws java.io.IOException
java.io.IOException
public void backlink() throws java.io.IOException
java.io.IOException
public java.lang.String odd()
public long now()
public void actionTraceon() throws java.lang.Exception
java.lang.Exception
public void actionTraceoff() throws java.lang.Exception
java.lang.Exception
public void actionErrorson() throws java.lang.Exception
java.lang.Exception
public void actionErrorsoff() throws java.lang.Exception
java.lang.Exception
public void actionSessionon() throws java.lang.Exception
java.lang.Exception
public void actionSessionoff() throws java.lang.Exception
java.lang.Exception
public void actionForceexpired() throws java.lang.Exception
java.lang.Exception
public void actionClearglobal() throws java.lang.Exception
java.lang.Exception
public void expandTemplate(java.lang.String name, java.lang.Object... values) throws java.lang.Exception
name
- values
-
java.io.IOException
java.lang.Exception
public void expandTemplate2(java.lang.String name, java.lang.Object... values) throws java.lang.Exception
java.lang.Exception
public void write(java.lang.String s) throws java.io.IOException
java.io.IOException
public void writeExpr(java.lang.Object o) throws java.io.IOException
java.io.IOException
public void showIndex() throws java.lang.Exception
java.io.IOException
java.lang.Exception
public void showHanging() throws java.lang.Exception
java.lang.Exception
public void showUsed() throws java.lang.Exception
java.lang.Exception
public void showGlobalstats() throws java.lang.Exception
java.lang.Exception
public void showGloballist() throws java.lang.Exception
java.lang.Exception
public void showSession() throws java.lang.Exception
java.lang.Exception
public void showSessionstat() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |