public static class ClientEndpointConfig.Configurator
extends java.lang.Object
Constructor and Description |
---|
ClientEndpointConfig.Configurator() |
Modifier and Type | Method and Description |
---|---|
void |
afterResponse(HandshakeResponse handshakeResponse)
Provides the client with a mechanism to inspect the handshake response
that is returned from the server.
|
void |
beforeRequest(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
Provides the client with a mechanism to inspect and/or modify the headers
that are sent to the server to start the WebSocket handshake.
|
public void beforeRequest(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
headers
- The HTTP headerspublic void afterResponse(HandshakeResponse handshakeResponse)
handshakeResponse
- The responseCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.