Package io.quarkus.websockets
Class BearerTokenClientEndpointConfigurator
- java.lang.Object
-
- io.quarkus.websockets.BearerTokenClientEndpointConfigurator
-
- All Implemented Interfaces:
javax.websocket.ClientEndpointConfig,javax.websocket.EndpointConfig
public class BearerTokenClientEndpointConfigurator extends Object implements javax.websocket.ClientEndpointConfig
-
-
Constructor Summary
Constructors Constructor Description BearerTokenClientEndpointConfigurator(String token)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.websocket.ClientEndpointConfig.ConfiguratorgetConfigurator()List<Class<? extends javax.websocket.Decoder>>getDecoders()List<Class<? extends javax.websocket.Encoder>>getEncoders()List<javax.websocket.Extension>getExtensions()List<String>getPreferredSubprotocols()SSLContextgetSSLContext()Map<String,Object>getUserProperties()
-
-
-
Field Detail
-
token
final String token
-
-
Constructor Detail
-
BearerTokenClientEndpointConfigurator
public BearerTokenClientEndpointConfigurator(String token)
-
-
Method Detail
-
getPreferredSubprotocols
public List<String> getPreferredSubprotocols()
- Specified by:
getPreferredSubprotocolsin interfacejavax.websocket.ClientEndpointConfig
-
getExtensions
public List<javax.websocket.Extension> getExtensions()
- Specified by:
getExtensionsin interfacejavax.websocket.ClientEndpointConfig
-
getConfigurator
public javax.websocket.ClientEndpointConfig.Configurator getConfigurator()
- Specified by:
getConfiguratorin interfacejavax.websocket.ClientEndpointConfig
-
getEncoders
public List<Class<? extends javax.websocket.Encoder>> getEncoders()
- Specified by:
getEncodersin interfacejavax.websocket.EndpointConfig
-
getDecoders
public List<Class<? extends javax.websocket.Decoder>> getDecoders()
- Specified by:
getDecodersin interfacejavax.websocket.EndpointConfig
-
getUserProperties
public Map<String,Object> getUserProperties()
- Specified by:
getUserPropertiesin interfacejavax.websocket.EndpointConfig
-
getSSLContext
public SSLContext getSSLContext()
-
-