Package helma.main
Class JettyServer
- java.lang.Object
-
- helma.main.JettyServer
-
public class JettyServer extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.jetty.server.Server
http
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
org.eclipse.jetty.server.Server
getHttpServer()
static JettyServer
init(Server server, ServerConfig config)
void
start()
void
stop()
-
-
-
Method Detail
-
init
public static JettyServer init(Server server, ServerConfig config) throws java.io.IOException
- Throws:
java.io.IOException
-
getHttpServer
public org.eclipse.jetty.server.Server getHttpServer()
-
start
public void start() throws java.lang.Exception
- Throws:
java.lang.Exception
-
stop
public void stop() throws java.lang.Exception
- Throws:
java.lang.Exception
-
destroy
public void destroy()
-
-