|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.html.dynamic.DynamicMain
public class DynamicMain
In this case of HTTP communcation, the displayed html page can be generated in two ways.
1. Dynamic Html Page generation.
2. Customized Html Page generation using SSI tags.
In the first case the user don't need to type any html file for his instrumentation. The HtmlCreation and DynamicHtml classes will generate dynamic html files and take care of all the necessary operations like modify value, create value, etc.
In the second case, using the .shtml files generated from the MibCompiler that contains required ssi tags to display the instrumented information, the user can customize the html pages. This case is handled by StaticMain, HtmlParser, StaticUtil classes.
This class handles the dynamic html generation. The Jmx_dynamic servlet should create an instance of this class and invoke corresponding functions from here.
com.adventnet.Dynamic,
com.adventnet.ssiparser.DynamicHtml| Field Summary | |
|---|---|
int |
CONFLICT
HTTP error CONFLICT |
int |
FORBIDDEN
HTTP error FORBIDDEN |
boolean |
getFromPost
|
int |
NOT_AUTHORISED
HTTP error NOT_AUTHORISED |
int |
NOT_FOUND
HTTP error NOTFOUND |
| Constructor Summary | |
|---|---|
DynamicMain()
Default Constructor for DynamicMain. |
|
| Method Summary | |
|---|---|
java.lang.String |
processGetRequest(java.util.Hashtable table)
Process the Get Request.The hashtable consists of all the Get Request Parameters. |
java.lang.String |
processPostRequest(java.util.Hashtable table)
Process the Post Request.The hashtable consists of all the Post Request Parameters. |
void |
registerErrorInterface(DynErrorInterface intf)
Registers the ErrorHtmlInterface. |
void |
registerHtmlInterface(HtmlInterface intf)
Registers the HtmlInterface. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean getFromPost
public int FORBIDDEN
public int NOT_FOUND
public int NOT_AUTHORISED
public int CONFLICT
| Constructor Detail |
|---|
public DynamicMain()
| Method Detail |
|---|
public void registerHtmlInterface(HtmlInterface intf)
name - the HtmlInterface objectpublic void registerErrorInterface(DynErrorInterface intf)
name - the DynErrorInterface objectpublic java.lang.String processGetRequest(java.util.Hashtable table)
name - the hashtable table.
public java.lang.String processPostRequest(java.util.Hashtable table)
name - the hashtable table.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||