Package org.ujmp.jetty
Class UJMPJettyServer
- java.lang.Object
-
- org.ujmp.jetty.UJMPJettyServer
-
public class UJMPJettyServer extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULTPORT
private int
port
private org.eclipse.jetty.server.Server
server
-
Constructor Summary
Constructors Constructor Description UJMPJettyServer(int port)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isConnected()
static void
main(java.lang.String[] args)
void
start()
void
stop()
-
-
-
Field Detail
-
DEFAULTPORT
public static final int DEFAULTPORT
- See Also:
- Constant Field Values
-
server
private org.eclipse.jetty.server.Server server
-
port
private final int port
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
isConnected
public boolean isConnected()
-
start
public void start() throws java.lang.Exception
- Throws:
java.lang.Exception
-
stop
public void stop() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-