|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object echopoint.util.BrowserKit
A utility to class to help with Browser information
Method Summary | |
static java.lang.String |
buildEchoAppDirectLink(nextapp.echo.EchoInstance instance,
java.lang.String otherEchoServletURL)
This helper method will build an URL link to another Echo web application so that the ClientProperties are shared between the two instances. |
static boolean |
isDHTMLBrowser(nextapp.echoservlet.RenderingContext rc)
Returns true of the current browser is capable of full CSS and DHTML support. |
static boolean |
isIE(nextapp.echoservlet.RenderingContext rc)
Returns true of the current browser is a IE browser |
static boolean |
isMozilla(nextapp.echoservlet.RenderingContext rc)
Returns true of the current browser is a Mozilla browser |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static boolean isDHTMLBrowser(nextapp.echoservlet.RenderingContext rc)
public static boolean isMozilla(nextapp.echoservlet.RenderingContext rc)
public static boolean isIE(nextapp.echoservlet.RenderingContext rc)
public static java.lang.String buildEchoAppDirectLink(nextapp.echo.EchoInstance instance, java.lang.String otherEchoServletURL)
This means the the usual client detection and splash screen step can be bypassed and the 2nd Echo application instance can be started directly by sharing the same properties.
In some cases this behaviour may make linking to another Echo application more seamless. The down side is that users may bookmark the resultant URL and hence the client detections parameters will not be the latest ones.
instance
- - the Echo istance whose ClientProperties are to be sharedotherEchoServletURL
- - complete or partial URL to the other Echo
Echo application to be started. For example /echopointdemo/demo
ClientProperties
,
ServerContext
,
ServerContext.suspend(String)
,
ServerContext.exit(String)
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |