|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.symcomp.wupsi.handlers.WupsiHandler
org.symcomp.wupsi.handlers.WebHandler
public class WebHandler
handles the 'web' command family responsible for starting and stopping the web server.
| Constructor Summary | |
|---|---|
WebHandler(Wupsifer w)
|
|
| Method Summary | |
|---|---|
java.lang.String |
command()
If the beginning of the current command mathes this string, this is the correct handler to be called. |
void |
handle(java.lang.String in)
this method is called with the entered command by Wupsifer |
java.lang.String |
help()
some usage infos |
void |
shutdownHook()
called on shutdown so that the handler can do necessary cleanup actions |
boolean |
startWeb(int port)
|
void |
stopWeb()
|
| Methods inherited from class org.symcomp.wupsi.handlers.WupsiHandler |
|---|
systemDiedHook |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebHandler(Wupsifer w)
| Method Detail |
|---|
public java.lang.String command()
WupsiHandler
command in class WupsiHandlerpublic void handle(java.lang.String in)
WupsiHandler
handle in class WupsiHandlerin - the entered commandpublic boolean startWeb(int port)
public void stopWeb()
public java.lang.String help()
WupsiHandler
help in class WupsiHandlerpublic void shutdownHook()
WupsiHandler
shutdownHook in class WupsiHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||