|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ohf.stem.ui.ge.servlet.VerifyClient
public class VerifyClient
Holder for the verify method that
will verify that the specified webserver
is available and that the Stem-GoogleEarth servlets
are deployed.
It will also send the setting of the DEBUG flag
to the servlet codebase so it can be used there.
String url = "http://localhost:8080/STEM/verify"
VerifyClient vc = new VerifyClient();
boolean ok = vc.verify(url)
if (! ok) {
System.out.println(vc.getError());
return;
}
...
Field Summary | |
---|---|
static java.lang.String |
expectedText
String that client should send us. |
static java.lang.String |
outputText
String that we will send the client |
Constructor Summary | |
---|---|
VerifyClient()
|
Method Summary | |
---|---|
java.lang.String |
getError()
Return the error message from the last check. |
static void |
main(java.lang.String[] args)
|
boolean |
verify(java.lang.String urlstr)
Verify: (1) that the web server is active (2) that the servlets are deployed |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String outputText
public static java.lang.String expectedText
Constructor Detail |
---|
public VerifyClient()
Method Detail |
---|
public boolean verify(java.lang.String urlstr)
urlstr
- URL like //localhost:8080/STEM/verify
public java.lang.String getError()
public static void main(java.lang.String[] args)
args
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |