Package org.java_websocket.handshake
Interface ServerHandshake
- All Superinterfaces:
Handshakedata
- All Known Subinterfaces:
ServerHandshakeBuilder
- All Known Implementing Classes:
HandshakeImpl1Server
Interface for the server handshake
-
Method Summary
Modifier and TypeMethodDescriptionshort
Get the http status codeGet the http status messageMethods inherited from interface org.java_websocket.handshake.Handshakedata
getContent, getFieldValue, hasFieldValue, iterateHttpFields
-
Method Details
-
getHttpStatus
short getHttpStatus()Get the http status code- Returns:
- the http status code
-
getHttpStatusMessage
String getHttpStatusMessage()Get the http status message- Returns:
- the http status message
-