public class WebSocketClientNegotiation extends Object
Constructor and Description |
---|
WebSocketClientNegotiation(List<String> supportedSubProtocols,
List<WebSocketExtension> supportedExtensions) |
Modifier and Type | Method and Description |
---|---|
void |
afterRequest(Map<String,List<String>> headers) |
void |
beforeRequest(Map<String,List<String>> headers) |
List<WebSocketExtension> |
getSelectedExtensions() |
String |
getSelectedSubProtocol() |
List<WebSocketExtension> |
getSupportedExtensions() |
List<String> |
getSupportedSubProtocols() |
void |
handshakeComplete(String selectedProtocol,
List<WebSocketExtension> selectedExtensions) |
public WebSocketClientNegotiation(List<String> supportedSubProtocols, List<WebSocketExtension> supportedExtensions)
public List<WebSocketExtension> getSupportedExtensions()
public String getSelectedSubProtocol()
public List<WebSocketExtension> getSelectedExtensions()
public void handshakeComplete(String selectedProtocol, List<WebSocketExtension> selectedExtensions)
Copyright © 2017 JBoss by Red Hat. All rights reserved.