Package org.java_websocket.handshake
Interface ServerHandshakeBuilder
-
- All Superinterfaces:
HandshakeBuilder,Handshakedata,ServerHandshake
- All Known Implementing Classes:
HandshakeImpl1Server
public interface ServerHandshakeBuilder extends HandshakeBuilder, ServerHandshake
The interface for building a handshake for the server
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetHttpStatus(short status)Setter for the http status codevoidsetHttpStatusMessage(String message)Setter for the http status message-
Methods inherited from interface org.java_websocket.handshake.HandshakeBuilder
put, setContent
-
Methods inherited from interface org.java_websocket.handshake.Handshakedata
getContent, getFieldValue, hasFieldValue, iterateHttpFields
-
Methods inherited from interface org.java_websocket.handshake.ServerHandshake
getHttpStatus, getHttpStatusMessage
-
-
-
-
Method Detail
-
setHttpStatus
void setHttpStatus(short status)
Setter for the http status code- Parameters:
status- the http status code
-
setHttpStatusMessage
void setHttpStatusMessage(String message)
Setter for the http status message- Parameters:
message- the http status message
-
-