Package io.micronaut.websocket
Class CloseReason
java.lang.Object
io.micronaut.websocket.CloseReason
Enumeration of close events. See https://tools.ietf.org/html/rfc6455#section-11.7.
- Since:
 - 1.0
 - Author:
 - graemerocher
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CloseReasonSee https://tools.ietf.org/html/rfc6455#section-11.7.static final CloseReasonSee https://tools.ietf.org/html/rfc6455#section-11.7.static final CloseReasonSee https://tools.ietf.org/html/rfc6455#section-11.7.static final CloseReasonSee https://tools.ietf.org/html/rfc6455#section-11.7.static final CloseReasonSee https://tools.ietf.org/html/rfc6455#section-11.7.static final CloseReasonSee https://tools.ietf.org/html/rfc6455#section-11.7.static final CloseReasonSee https://tools.ietf.org/html/rfc6455#section-11.7.static final CloseReasonSee https://tools.ietf.org/html/rfc6455#section-11.7.static final CloseReasonSee https://tools.ietf.org/html/rfc6455#section-11.7.static final CloseReasonSee https://tools.ietf.org/html/rfc6455#section-11.7.static final CloseReasonSee https://tools.ietf.org/html/rfc6455#section-11.7.static final CloseReasonSee https://tools.ietf.org/html/rfc6455#section-11.7.static final CloseReasonSee https://tools.ietf.org/html/rfc6455#section-11.7.static final CloseReasonSee https://tools.ietf.org/html/rfc6455#section-11.7.static final CloseReasonSee https://tools.ietf.org/html/rfc6455#section-11.7. - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
NORMAL
See https://tools.ietf.org/html/rfc6455#section-11.7. - 
GOING_AWAY
See https://tools.ietf.org/html/rfc6455#section-11.7. - 
PROTOCOL_ERROR
See https://tools.ietf.org/html/rfc6455#section-11.7. - 
UNSUPPORTED_DATA
See https://tools.ietf.org/html/rfc6455#section-11.7. - 
NO_STATUS_RECEIVED
See https://tools.ietf.org/html/rfc6455#section-11.7. - 
ABNORMAL_CLOSURE
See https://tools.ietf.org/html/rfc6455#section-11.7. - 
INVALID_FRAME_PAYLOAD_DATA
See https://tools.ietf.org/html/rfc6455#section-11.7. - 
POLICY_VIOLATION
See https://tools.ietf.org/html/rfc6455#section-11.7. - 
MESSAGE_TO_BIG
See https://tools.ietf.org/html/rfc6455#section-11.7. - 
MISSING_EXTENSION
See https://tools.ietf.org/html/rfc6455#section-11.7. - 
INTERNAL_ERROR
See https://tools.ietf.org/html/rfc6455#section-11.7. - 
SERVICE_RESTART
See https://tools.ietf.org/html/rfc6455#section-11.7. - 
TRY_AGAIN_LATER
See https://tools.ietf.org/html/rfc6455#section-11.7. - 
BAD_GATEWAY
See https://tools.ietf.org/html/rfc6455#section-11.7. - 
TLS_HANDSHAKE
See https://tools.ietf.org/html/rfc6455#section-11.7. 
 - 
 - 
Constructor Details
- 
CloseReason
Default constructor.- Parameters:
 code- The code.reason- The reason.
 
 - 
 - 
Method Details