|
XMOJO 5 API Docs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to plug-in user's WebServer to the HTML Adaptor and HTTP Connector.
Method Summary | |
java.lang.String |
getConfigFileName()
Getter for the configFileName. |
void |
restartHttpServer()
Restarts the WebServer. |
void |
setConfigFileName(java.lang.String configFileName)
Setter for the configuration file Name with location. |
void |
setPort(int port)
Setter for the port. |
void |
startHttpServer()
Method to start the WebServer initially. |
void |
stopHttpServer()
Stops the WebServer. |
Method Detail |
public void startHttpServer() throws java.lang.Exception
java.lang.Exception
- while error starting WebServer.public void stopHttpServer() throws java.lang.Exception
java.lang.Exception
- on error while stopping WebServer.public void restartHttpServer() throws java.lang.Exception
java.lang.Exception
- while error trying to restart the WebServerpublic void setConfigFileName(java.lang.String configFileName)
configFileName
- The configuration file name with path.public java.lang.String getConfigFileName()
public void setPort(int port)
the
- port number at which the web server should run.
|
XMOJO 5 API Docs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |