Package | Description |
---|---|
org.simpleframework.http.socket |
Modifier and Type | Method and Description |
---|---|
CloseCode |
Reason.getCode()
This is used to get the RFC 6455 code describing the type
of close event.
|
static CloseCode |
CloseCode.resolveCode(int high,
int low) |
static CloseCode |
CloseCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CloseCode[] |
CloseCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
Reason(CloseCode code)
Constructor for the
Reason object. |
Reason(CloseCode code,
String text)
Constructor for the
Reason object. |
Copyright © 2017. All rights reserved.