public class TyrusClientEndpointConfigurator extends ClientEndpointConfig.Configurator
Constructor and Description |
---|
TyrusClientEndpointConfigurator() |
Modifier and Type | Method and Description |
---|---|
void |
beforeRequest(UpgradeRequest upgradeRequest)
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
ClientEndpointConfig.Configurator.beforeRequest(Map) is invoked. |
afterResponse, beforeRequest
public void beforeRequest(UpgradeRequest upgradeRequest)
ClientEndpointConfig.Configurator.beforeRequest(Map)
is invoked. This allows the
developer to inspect the handshake request itself prior to the start of the handshake interaction.
For modifying the HandshakeRequestHeaders, use ClientEndpointConfig.Configurator.beforeRequest(Map)
.
upgradeRequest
- the read-only handshake request the implementation is about to send to start the
handshake interaction.Copyright © 2012–2020 Oracle Corporation. All rights reserved.