Package org.eclipse.jetty.embedded
Class WebSocketJsrServer
- java.lang.Object
-
- org.eclipse.jetty.embedded.WebSocketJsrServer
-
public class WebSocketJsrServer extends java.lang.Object
Example of setting up a javax.websocket server with Jetty embedded
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WebSocketJsrServer.EchoJsrSocket
A server socket endpoint
-
Constructor Summary
Constructors Constructor Description WebSocketJsrServer()
-
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)
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-