Top Fields Constructors Methods
io.undertow.websockets.client

public Class WebSocketClientNegotiation

extends Object
Class Inheritance
Imports
io.undertow.websockets.WebSocketExtension, java.util.List, .Map

Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private volatile List<WebSocketExtension>
private volatile String
private final List<WebSocketExtension>
private final List<String>

Constructor Summary

AccessConstructor and Description
public
WebSocketClientNegotiation(List<String> supportedSubProtocols, List<WebSocketExtension> supportedExtensions)

Method Summary

Modifier and TypeMethod and Description
public void
afterRequest(final Map<String, List<String>> headers)

public void
beforeRequest(final Map<String, List<String>> headers)

public List<WebSocketExtension>
public String
public List<WebSocketExtension>
public List<String>
public void
handshakeComplete(String selectedProtocol, List<WebSocketExtension> selectedExtensions)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

selectedExtensionsback to summary
private volatile List<WebSocketExtension> selectedExtensions
selectedSubProtocolback to summary
private volatile String selectedSubProtocol
supportedExtensionsback to summary
private final List<WebSocketExtension> supportedExtensions
supportedSubProtocolsback to summary
private final List<String> supportedSubProtocols

Constructor Detail

WebSocketClientNegotiationback to summary
public WebSocketClientNegotiation(List<String> supportedSubProtocols, List<WebSocketExtension> supportedExtensions)

Method Detail

afterRequestback to summary
public void afterRequest(final Map<String, List<String>> headers)
beforeRequestback to summary
public void beforeRequest(final Map<String, List<String>> headers)
getSelectedExtensionsback to summary
public List<WebSocketExtension> getSelectedExtensions()
getSelectedSubProtocolback to summary
public String getSelectedSubProtocol()
getSupportedExtensionsback to summary
public List<WebSocketExtension> getSupportedExtensions()
getSupportedSubProtocolsback to summary
public List<String> getSupportedSubProtocols()
handshakeCompleteback to summary
public void handshakeComplete(String selectedProtocol, List<WebSocketExtension> selectedExtensions)