public final class WebSocketEchoServer
extends java.lang.Object
An example to demonstrate how to write a WebSocket client. This example accepts WebSocket upgrade as well as normal
HTTP requests.
If a request to WebSockets is requested, then this server echoes all received frames, else if the request is a
"/hello" request it sends a "Hello World!" response.