Class WebSocketConnectionBase
java.lang.Object
io.quarkus.websockets.next.runtime.WebSocketConnectionBase
- Direct Known Subclasses:
WebSocketClientConnectionImpl,WebSocketConnectionImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Codecsprotected final Instantprotected final HandshakeRequestprotected final Stringprotected final TrafficLogger -
Constructor Summary
ConstructorsConstructorDescriptionWebSocketConnectionBase(Map<String, String> pathParams, Codecs codecs, HandshakeRequest handshakeRequest, TrafficLogger trafficLogger) -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<Void>close()io.smallrye.mutiny.Uni<Void>close(CloseReason reason) id()booleanisClosed()booleanisSecure()(package private) voidio.smallrye.mutiny.Uni<Void>sendBinary(io.vertx.core.buffer.Buffer message) io.smallrye.mutiny.Uni<Void>sendPing(io.vertx.core.buffer.Buffer data) io.smallrye.mutiny.Uni<Void>sendPong(io.vertx.core.buffer.Buffer data) io.smallrye.mutiny.Uni<Void><M> io.smallrye.mutiny.Uni<Void>sendText(M message) (package private) abstract io.vertx.core.http.WebSocketBase
-
Field Details
-
identifier
-
pathParams
-
codecs
-
handshakeRequest
-
creationTime
-
trafficLogger
-
-
Constructor Details
-
WebSocketConnectionBase
WebSocketConnectionBase(Map<String, String> pathParams, Codecs codecs, HandshakeRequest handshakeRequest, TrafficLogger trafficLogger)
-
-
Method Details
-
webSocket
abstract io.vertx.core.http.WebSocketBase webSocket() -
id
-
pathParam
-
sendText
-
sendBinary
-
sendText
-
sendPing
-
sendAutoPing
void sendAutoPing() -
sendPong
-
close
-
close
-
isSecure
public boolean isSecure() -
isClosed
public boolean isClosed() -
handshakeRequest
-
creationTime
-
broadcast
-
closeReason
-