Class TyrusClientEndpointConfigurator


  • public class TyrusClientEndpointConfigurator
    extends ClientEndpointConfig.Configurator
    Extended Configurator that can be used for subclassing the user provided configurator. If done so, the additional methods are invoked as described by the methods.
    • Constructor Detail

      • TyrusClientEndpointConfigurator

        public TyrusClientEndpointConfigurator()
    • Method Detail

      • beforeRequest

        public 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. 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).

        Parameters:
        upgradeRequest - the read-only handshake request the implementation is about to send to start the handshake interaction.