Top Description Fields Constructors Methods
org.java_websocket.handshake

public Class HandshakeImpl1Server

extends HandshakedataImpl1
implements ServerHandshakeBuilder
Class Inheritance
All Implemented Interfaces
org.java_websocket.handshake.ServerHandshakeBuilder, org.java_websocket.handshake.ServerHandshake, org.java_websocket.handshake.Handshakedata, org.java_websocket.handshake.HandshakeBuilder

Implementation for a server handshake

Field Summary

Modifier and TypeField and Description
private short
httpstatus

Attribute for the http status

private String
httpstatusmessage

Attribute for the http status message

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public short
public String
public void
setHttpStatus(short status)

Implements org.java_websocket.handshake.ServerHandshakeBuilder.setHttpStatus.

Setter for the http status code

public void
Inherited from org.java_websocket.handshake.HandshakedataImpl1:
getContentgetFieldValuehasFieldValueiterateHttpFieldsputsetContent

Field Detail

httpstatusback to summary
private short httpstatus

Attribute for the http status

httpstatusmessageback to summary
private String httpstatusmessage

Attribute for the http status message

Constructor Detail

HandshakeImpl1Serverback to summary
public HandshakeImpl1Server()

Method Detail

getHttpStatusback to summary
public short getHttpStatus()

Implements org.java_websocket.handshake.ServerHandshake.getHttpStatus.

Doc from org.java_websocket.handshake.ServerHandshake.getHttpStatus.

Get the http status code

Annotations
@Override
getHttpStatusMessageback to summary
public String getHttpStatusMessage()

Implements org.java_websocket.handshake.ServerHandshake.getHttpStatusMessage.

Doc from org.java_websocket.handshake.ServerHandshake.getHttpStatusMessage.

Get the http status message

Annotations
@Override
setHttpStatusback to summary
public void setHttpStatus(short status)

Implements org.java_websocket.handshake.ServerHandshakeBuilder.setHttpStatus.

Doc from org.java_websocket.handshake.ServerHandshakeBuilder.setHttpStatus.

Setter for the http status code

Annotations
@Override
setHttpStatusMessageback to summary
public void setHttpStatusMessage(String message)

Implements org.java_websocket.handshake.ServerHandshakeBuilder.setHttpStatusMessage.

Doc from org.java_websocket.handshake.ServerHandshakeBuilder.setHttpStatusMessage.

Setter for the http status message

Annotations
@Override