Package org.eclipse.jetty.websocket.api
Class CloseStatus
java.lang.Object
org.eclipse.jetty.websocket.api.CloseStatus
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCloseStatus
(int closeCode, String reasonPhrase) Creates a reason for closing a web socket connection with the given code and reason phrase. -
Method Summary
-
Field Details
-
MAX_REASON_PHRASE
public static final int MAX_REASON_PHRASE- See Also:
-
-
Constructor Details
-
CloseStatus
Creates a reason for closing a web socket connection with the given code and reason phrase.- Parameters:
closeCode
- the close codereasonPhrase
- the reason phrase- See Also:
-
-
Method Details
-
getCode
public int getCode() -
getPhrase
-