Top Description Methods
org.java_websocket.handshake

public Interface HandshakeBuilder

extends Handshakedata
Known Direct Subinterfaces
org.java_websocket.handshake.ServerHandshakeBuilder, org.java_websocket.handshake.ClientHandshakeBuilder
Known Direct Implementers
org.java_websocket.handshake.HandshakedataImpl1

The interface for building a handshake

Method Summary

Modifier and TypeMethod and Description
public void
put(String
the http field
name
,
String
the value for this field
value
)

Adding a specific field with a specific value

public void
setContent(byte[]
the content to set
content
)

Setter for the content of the handshake

Inherited from org.java_websocket.handshake.Handshakedata:
getContentgetFieldValuehasFieldValueiterateHttpFields

Method Detail

putback to summary
public void put(String name, String value)

Adding a specific field with a specific value

Parameters
name:String

the http field

value:String

the value for this field

setContentback to summary
public void setContent(byte[] content)

Setter for the content of the handshake

Parameters
content:byte[]

the content to set