Top Description Methods
org.java_websocket.handshake

public Interface ServerHandshakeBuilder

extends HandshakeBuilder, ServerHandshake
Known Direct Implementers
org.java_websocket.handshake.HandshakeImpl1Server

The interface for building a handshake for the server

Method Summary

Modifier and TypeMethod and Description
public void
setHttpStatus(short
the http status code
status
)

Setter for the http status code

public void
setHttpStatusMessage(String
the http status message
message
)

Setter for the http status message

Inherited from org.java_websocket.handshake.HandshakeBuilder:
putsetContent
Inherited from org.java_websocket.handshake.ServerHandshake:
getHttpStatusgetHttpStatusMessage

Method Detail

setHttpStatusback to summary
public void setHttpStatus(short status)

Setter for the http status code

Parameters
status:short

the http status code

setHttpStatusMessageback to summary
public void setHttpStatusMessage(String message)

Setter for the http status message

Parameters
message:String

the http status message