public static class ClientEndpointConfig.Configurator extends 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(Map<String,List<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(Map<String,List<String>> headers)
headers
- The HTTP headerspublic void afterResponse(HandshakeResponse handshakeResponse)
handshakeResponse
- The responseCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.