Package com.github.searls.jasmine.server
Class ServerManager
- java.lang.Object
-
- com.github.searls.jasmine.server.ServerManager
-
public class ServerManager extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringFAILED_TO_BIND
-
Constructor Summary
Constructors Modifier Constructor Description protectedServerManager(org.eclipse.jetty.server.ServerConnector connector)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidjoin()static ServerManagernewInstance()intstart(int port, org.eclipse.jetty.server.Handler handler)intstart(org.eclipse.jetty.server.Handler handler)voidstop()
-
-
-
Field Detail
-
FAILED_TO_BIND
public static final String FAILED_TO_BIND
- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public int start(org.eclipse.jetty.server.Handler handler) throws Exception- Throws:
Exception
-
start
public int start(int port, org.eclipse.jetty.server.Handler handler) throws Exception- Throws:
Exception
-
newInstance
public static ServerManager newInstance()
-
-