|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.kosi.server.HttpServerInterfaceImpl
Interface to configure the integrated HTTP server.
ChangeLog:
$Log: HttpServerInterfaceImpl.java,v $ Revision 1.4 2001/06/24 14:34:27 jiriki Updated jetty to 3.0.6 Revision 1.3 2001/06/04 14:21:10 jiriki Made source more comliant to coding guidelines. Revision 1.2 2001/05/02 19:19:22 jiriki Http Server is running correctly again. Revision 1.1.1.1 2001/04/29 18:05:18 jiriki Imported sources from zola. Revision 1.3 2001/03/19 21:50:49 wombat - Worked on admin client. - improved shutdown sequence - removed bugs in login/logout sequence Revision 1.2 2001/03/18 18:10:26 wombat Updated Documentation Revision 1.1 2001/03/18 17:33:02 wombat Changed database concept
Constructor Summary | |
HttpServerInterfaceImpl()
Create a new HttpServerInterfaceImpl. |
Method Summary | |
java.lang.String |
getDirectory()
Return the directory the http server serves. |
int |
getPort()
Return the port of the http server. |
boolean |
isRunning()
Returns if the HttpServer is running. |
void |
setDirectory(java.lang.String directory)
Set the directory the http server serves. |
void |
setPort(int port)
Set the port the http server is running on. |
void |
setRunning(boolean running)
Set if the htp server should be running. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HttpServerInterfaceImpl()
Method Detail |
public boolean isRunning() throws KosiAccessException, InvalidSessionException
isRunning
in interface HttpServerInterface
KosiAccessException
- If called by an user, that has no
administrative rights.InvalidSessionException
- If called from an invalid session context.public void setRunning(boolean running) throws KosiAccessException, InvalidSessionException
setRunning
in interface HttpServerInterface
running
- true if the http server should be running.KosiAccessException
- If called by an user, that has no
administrative rights.InvalidSessionException
- If called from an invalid session context.public int getPort() throws KosiAccessException, InvalidSessionException
getPort
in interface HttpServerInterface
KosiAccessException
- If called by an user, that has no
administrative rights.InvalidSessionException
- If called from an invalid session context.public void setPort(int port) throws KosiAccessException, InvalidSessionException
setPort
in interface HttpServerInterface
port
- The port of the HttpServer.KosiAccessException
- If called by an user, that has no
administrative rights.InvalidSessionException
- If called from an invalid session context.public java.lang.String getDirectory() throws KosiAccessException, InvalidSessionException
getDirectory
in interface HttpServerInterface
KosiAccessException
- If called by an user, that has no
administrative rights.InvalidSessionException
- If called from an invalid session context.public void setDirectory(java.lang.String directory) throws KosiAccessException, InvalidSessionException
setDirectory
in interface HttpServerInterface
directory
- Directory the http server serves.KosiAccessException
- If called by an user, that has no
administrative rights.InvalidSessionException
- If called from an invalid session context.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |