Class WebSocketAuthConfigurator


  • public class WebSocketAuthConfigurator
    extends javax.websocket.ClientEndpointConfig.Configurator
    • Constructor Detail

      • WebSocketAuthConfigurator

        public WebSocketAuthConfigurator​(String userName,
                                         String password,
                                         String token)
    • Method Detail

      • beforeRequest

        public void beforeRequest​(Map<String,​List<String>> headers)
        Overrides:
        beforeRequest in class javax.websocket.ClientEndpointConfig.Configurator