Package | Description |
---|---|
javax.websocket |
This package contains all the WebSocket APIs common to both the client
and server side.
|
Modifier and Type | Method and Description |
---|---|
void |
Session.close(CloseReason closeReason)
Close the current conversation, giving a reason for the closure.
|
void |
Endpoint.onClose(Session session,
CloseReason closeReason)
This method is called immediately prior to the session with the remote
peer being closed.
|
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.