Uses of Class
org.simpleframework.http.socket.Reason
-
Packages that use Reason Package Description org.simpleframework.http.socket org.simpleframework.http.socket.service -
-
Uses of Reason in org.simpleframework.http.socket
Methods in org.simpleframework.http.socket with parameters of type Reason Modifier and Type Method Description void
FrameChannel. close(Reason reason)
This is used to close the connection with a specific reason.void
FrameListener. onClose(Session session, Reason reason)
This is called when the connection is closed from the other side. -
Uses of Reason in org.simpleframework.http.socket.service
Fields in org.simpleframework.http.socket.service declared as Reason Modifier and Type Field Description private Reason
StatusChecker. error
The only reason for a close is for an unexpected error.private Reason
FrameProcessor. normal
This is the reason message used for a normal closure.private Reason
StatusChecker. normal
The only reason for a close is for an unexpected error.private Reason
FrameConnection. reason
The reason that is sent if at any time the channel is closed.Methods in org.simpleframework.http.socket.service that return Reason Modifier and Type Method Description Reason
ReasonExtractor. extract(Frame frame)
This is used to extract a reason from the provided frame.Methods in org.simpleframework.http.socket.service with parameters of type Reason Modifier and Type Method Description void
FrameConnection. close(Reason reason)
This is used to close the connection with a specific reason.void
FrameProcessor. close(Reason reason)
This is used to close the connection without a specific reason.void
ServiceChannel. close(Reason reason)
This is used to close the connection with a specific reason.int
FrameEncoder. encode(Reason reason)
This is used to encode the provided data as a WebSocket frame as of RFC 6455.void
StatusResultListener. onClose(Session session, Reason reason)
This is called when the connection is closed from the other side.
-