public static class ClientEndpointConfig.Configurator
extends java.lang.Object
Constructor and Description |
---|
Configurator() |
Modifier and Type | Method and Description |
---|---|
void |
afterResponse(HandshakeResponse hr)
This method is called by the implementation after it has received a handshake response from the server as a
result of a handshake interaction it initiated.
|
void |
beforeRequest(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
This method is called by the implementation after it has formulated the handshake request that will be used
to initiate the connection to the server, but before it has sent any part of the request.
|
public void beforeRequest(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
headers
- the mutable map of handshake request headers the implementation is about to send to start the
handshake interaction.public void afterResponse(HandshakeResponse hr)
hr
- the handshake response sent by the server.