Package org.eclipse.jetty.embedded
Class OneConnector
- java.lang.Object
-
- org.eclipse.jetty.embedded.OneConnector
-
public class OneConnector extends java.lang.Object
A Jetty server with one connectors.
-
-
Constructor Summary
Constructors Constructor Description OneConnector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Server
createServer(int port)
static void
main(java.lang.String[] args)
-
-
-
Method Detail
-
createServer
public static Server createServer(int port) throws java.lang.Exception
- Throws:
java.lang.Exception
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-