|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object creamtec.webcream.core.AgentInitData
public class AgentInitData
Contains Client Agent initialization data, that is passed to a newly instantiated client
Field Summary | |
---|---|
int |
agentsCount
Numberof agents in WebCream. |
static int |
BROWSER_IE
Internet Explorer |
static int |
BROWSER_NS
Netscape browser |
static int |
BROWSER_OPERA
Opera browser |
static int |
BROWSER_UNKNOWN
Unknown browser |
int |
browserID
The version of the browser. |
float |
browserVersion
Version of the browser. |
int |
clientHeight
|
int |
clientId
Used to uniquely identify a client |
int |
clientWidth
|
boolean |
inProcess
True if the agent executes in process, false if stand alone |
java.lang.String |
serverURL
The URL of the web server |
java.lang.String |
servletContextPath
The context path of WebCream (see servlet spec) |
java.lang.String |
submitURL
The URL that the pages are submitted to |
java.lang.String |
tempDirPath
Path to a temporary directory that is under web server's webapp directory (and therefore can be referred to from the generated HTML pages) |
java.lang.String |
webappRealPath
The real path of the web application (see servlet spec) |
Constructor Summary | |
---|---|
AgentInitData(int browserID,
float browserVersion,
boolean inProcess,
int agentsCount)
Initializes the data with the given browser info |
Method Summary | |
---|---|
java.lang.String |
getErrorMessage()
Returns the error message that should be displayed on the generated HTML page |
java.lang.String |
getTempDirPath()
|
void |
setErrorMessage(java.lang.String errorMessage)
Sets the error message that should be displayed on the generated HTML page |
void |
setURLs(java.lang.String submitURL,
java.lang.String serverURL)
Sets the URLs for page submission and the URL of the web server |
void |
setWebappRealPath(java.lang.String webAppRealPath)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int browserID
public float browserVersion
public boolean inProcess
public int agentsCount
public java.lang.String submitURL
public java.lang.String serverURL
public java.lang.String servletContextPath
public java.lang.String webappRealPath
public java.lang.String tempDirPath
public int clientWidth
public int clientHeight
public int clientId
public static final int BROWSER_UNKNOWN
public static final int BROWSER_NS
public static final int BROWSER_IE
public static final int BROWSER_OPERA
Constructor Detail |
---|
public AgentInitData(int browserID, float browserVersion, boolean inProcess, int agentsCount)
browserID
- specifies one of the possible browser ids,
* defined as AgentInitData constantsbrowserVersion
- version of the browser, e.g. 4.1Method Detail |
---|
public void setURLs(java.lang.String submitURL, java.lang.String serverURL)
submitURL
- StringserverURL
- Stringpublic void setErrorMessage(java.lang.String errorMessage)
errorMessage
- Stringpublic java.lang.String getErrorMessage()
public void setWebappRealPath(java.lang.String webAppRealPath)
public java.lang.String getTempDirPath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |