Package org.java_websocket.handshake
Interface ServerHandshake
-
- All Superinterfaces:
Handshakedata
- All Known Subinterfaces:
ServerHandshakeBuilder
- All Known Implementing Classes:
HandshakeImpl1Server
public interface ServerHandshake extends Handshakedata
Interface for the server handshake
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description short
getHttpStatus()
Get the http status codeString
getHttpStatusMessage()
Get the http status message-
Methods inherited from interface org.java_websocket.handshake.Handshakedata
getContent, getFieldValue, hasFieldValue, iterateHttpFields
-
-
-
-
Method Detail
-
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
-
-