public static class ClientEndpointConfig.Configurator extends 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(Map<String,List<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(Map<String,List<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.Copyright © 2019 JBoss by Red Hat. All rights reserved.