Class WebSocketConnectorBase<THIS extends WebSocketConnectorBase<THIS>>
java.lang.Object
io.quarkus.websockets.next.runtime.WebSocketConnectorBase<THIS>
- Direct Known Subclasses:
BasicWebSocketConnectorImpl,WebSocketConnectorImpl
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected URIprotected final Codecsprotected final WebSocketsClientRuntimeConfigprotected final ClientConnectionManagerprotected io.vertx.core.http.WebSocketClientOptionsprotected io.vertx.core.http.WebSocketConnectOptionsprotected Stringprotected static final Patternprotected Stringprotected final io.quarkus.tls.TlsConfigurationRegistryprotected final io.vertx.core.Vertx -
Constructor Summary
ConstructorsConstructorDescriptionWebSocketConnectorBase(io.vertx.core.Vertx vertx, Codecs codecs, ClientConnectionManager connectionManager, WebSocketsClientRuntimeConfig config, io.quarkus.tls.TlsConfigurationRegistry tlsConfigurationRegistry) -
Method Summary
Modifier and TypeMethodDescriptionaddSubprotocol(String value) customizeOptions(BiConsumer<io.vertx.core.http.WebSocketConnectOptions, io.vertx.core.http.WebSocketClientOptions> customizer) getPathParamNames(String path) protected booleanisNotSecure(URI uri) protected boolean(package private) Consumer<WebSocketClientConnection> newCleanupConsumer(io.vertx.core.http.WebSocketClient client, io.vertx.core.impl.ContextImpl context) protected io.vertx.core.http.WebSocketConnectOptionsnewConnectOptions(URI serverEndpointUri) protected io.vertx.core.http.WebSocketClientOptions(package private) StringreplacePathParameters(String path) protected THISself()(package private) voidtlsConfigurationName(String tlsConfigurationName) <VALUE> THISuserData(UserData.TypedKey<VALUE> key, VALUE value)
-
Field Details
-
PATH_PARAM_PATTERN
-
baseUri
-
customWebSocketConnectOptions
protected io.vertx.core.http.WebSocketConnectOptions customWebSocketConnectOptions -
customWebSocketClientOptions
protected io.vertx.core.http.WebSocketClientOptions customWebSocketClientOptions -
pathParams
-
headers
-
subprotocols
-
path
-
pathParamNames
-
userData
-
tlsConfigurationName
-
vertx
protected final io.vertx.core.Vertx vertx -
codecs
-
connectionManager
-
config
-
tlsConfigurationRegistry
protected final io.quarkus.tls.TlsConfigurationRegistry tlsConfigurationRegistry
-
-
Constructor Details
-
WebSocketConnectorBase
WebSocketConnectorBase(io.vertx.core.Vertx vertx, Codecs codecs, ClientConnectionManager connectionManager, WebSocketsClientRuntimeConfig config, io.quarkus.tls.TlsConfigurationRegistry tlsConfigurationRegistry)
-
-
Method Details
-
baseUri
-
tlsConfigurationName
-
addHeader
-
pathParam
-
addSubprotocol
-
userData
-
setPath
-
self
-
getPathParamNames
-
replacePathParameters
-
populateClientOptions
protected io.vertx.core.http.WebSocketClientOptions populateClientOptions() -
newConnectOptions
-
isNotSecure
-
isSecure
-
newCleanupConsumer
Consumer<WebSocketClientConnection> newCleanupConsumer(io.vertx.core.http.WebSocketClient client, io.vertx.core.impl.ContextImpl context) -
customizeOptions
public THIS customizeOptions(BiConsumer<io.vertx.core.http.WebSocketConnectOptions, io.vertx.core.http.WebSocketClientOptions> customizer)
-