| Package | Description |
|---|---|
| javax.net.websocket |
| Modifier and Type | Method and Description |
|---|---|
CloseReason |
Session.getCloseStatus()
If this session is no longer active, returns the reason for closure.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Session.close(CloseReason closeStatus)
Close the current conversation, giving a reason for the closure.
|
Copyright © 2012 Oracle and/or its affiliates. All rights reserved.