Package org.jboss.netty.example.http.websocketx.server
package org.jboss.netty.example.http.websocketx.server
This package contains an example web socket web server.
The web server only handles text, ping and closing frames. For text frames, it echoes the received text in upper case.
Once started, you can test the web server against your browser by navigating to http://localhost:8080/
You can also test it with a web socket client. Send web socket traffic to ws://localhost:8080/websocket.
-
ClassesClassDescriptionA HTTP server which serves Web Socket requests at: http://localhost:8080/websocket Open your browser at http://localhost:8080/, then the demo page will be loaded and a Web Socket connection will be made automatically.Handles handshakes and messagesGenerates the demo HTML page which is served at http://localhost:8080/