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 voidFrameChannel. close(Reason reason)This is used to close the connection with a specific reason.voidFrameListener. 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 ReasonStatusChecker. errorThe only reason for a close is for an unexpected error.private ReasonFrameProcessor. normalThis is the reason message used for a normal closure.private ReasonStatusChecker. normalThe only reason for a close is for an unexpected error.private ReasonFrameConnection. reasonThe 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 ReasonReasonExtractor. 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 voidFrameConnection. close(Reason reason)This is used to close the connection with a specific reason.voidFrameProcessor. close(Reason reason)This is used to close the connection without a specific reason.voidServiceChannel. close(Reason reason)This is used to close the connection with a specific reason.intFrameEncoder. encode(Reason reason)This is used to encode the provided data as a WebSocket frame as of RFC 6455.voidStatusResultListener. onClose(Session session, Reason reason)This is called when the connection is closed from the other side.
-