Top Fields Constructors Methods
org.glassfish.grizzly.websockets.rfc6455

public Class RFC6455HandShake

extends HandShake
Class Inheritance
Static Imports
org.glassfish.grizzly.websockets.Constants.ORIGIN_HEADER, .Constants.SEC_WS_ORIGIN_HEADER

Field Summary

Modifier and TypeField and Description
private final List<String>
private final List<String>
private final SecKey

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public HttpContent
public List<String>
public List<String>
protected int
public void
public void
Inherited from org.glassfish.grizzly.websockets.HandShake:
buildLocationgetExtensionsgetLocationgetOrigingetPortgetResourcePathgetServerHostNamegetSubProtocolinitiateintersectionisSecurejoinjoinExtensionsparseExtensionsHeaderparseParametersrespondsetExtensionssetSubProtocolsplit

Field Detail

enabledExtensionsback to summary
private final List<String> enabledExtensions
enabledProtocolsback to summary
private final List<String> enabledProtocols
secKeyback to summary
private final SecKey secKey

Constructor Detail

RFC6455HandShakeback to summary
public RFC6455HandShake(URI uri)
RFC6455HandShakeback to summary
public RFC6455HandShake(HttpRequestPacket request)

Method Detail

composeHeadersback to summary
public HttpContent composeHeaders()

Overrides org.glassfish.grizzly.websockets.HandShake.composeHeaders.

Annotations
@Override
getEnabledExtensionsback to summary
public List<String> getEnabledExtensions()
getEnabledProtocolsback to summary
public List<String> getEnabledProtocols()
getVersionback to summary
protected int getVersion()

Implements abstract org.glassfish.grizzly.websockets.HandShake.getVersion.

Annotations
@Override
setHeadersback to summary
public void setHeaders(HttpResponsePacket response)

Implements abstract org.glassfish.grizzly.websockets.HandShake.setHeaders.

Annotations
@Override
validateServerResponseback to summary
public void validateServerResponse(final HttpResponsePacket headers) throws HandshakeException

Overrides org.glassfish.grizzly.websockets.HandShake.validateServerResponse.

Annotations
@Override