public class EchoEndpoint extends Object
| Constructor and Description |
|---|
EchoEndpoint() |
public void onOpen(Session session) throws IOException
IOExceptionpublic void echo(Session session, String message) throws IOException
IOExceptionpublic void onError(Throwable t)
Copyright © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.