Class WebSocketConnectionImpl
java.lang.Object
io.quarkus.websockets.next.runtime.WebSocketConnectionBase
io.quarkus.websockets.next.runtime.WebSocketConnectionImpl
- All Implemented Interfaces:
Connection,Sender,WebSocketConnection
-
Nested Class Summary
Nested classes/interfaces inherited from class io.quarkus.websockets.next.runtime.WebSocketConnectionBase
WebSocketConnectionBase.HandshakeRequestBaseNested classes/interfaces inherited from interface io.quarkus.websockets.next.WebSocketConnection
WebSocketConnection.BroadcastSender -
Field Summary
Fields inherited from class io.quarkus.websockets.next.runtime.WebSocketConnectionBase
codecs, creationTime, handshakeRequest, identifier, pathParams, trafficLogger -
Constructor Summary
ConstructorsConstructorDescriptionWebSocketConnectionImpl(String generatedEndpointClass, String endpointClass, io.vertx.core.http.ServerWebSocket webSocket, ConnectionManager connectionManager, Codecs codecs, io.vertx.ext.web.RoutingContext ctx, TrafficLogger trafficLogger, UserData userData, SendingInterceptor sendingInterceptor, Function<WebSocketConnectionImpl, SecuritySupport> securitySupportCreator) -
Method Summary
Modifier and TypeMethodDescriptionSends messages to all open clients connected to the same WebSocket endpoint.booleanThe returned set also includes the connection this method is called upon.inthashCode()(package private) SecuritySupporttoString()(package private) io.vertx.core.http.WebSocketBaseMethods inherited from class io.quarkus.websockets.next.runtime.WebSocketConnectionBase
close, close, closeReason, creationTime, handshakeRequest, id, isClosed, isSecure, pathParam, sendAutoPing, sendBinary, sendPing, sendPong, sendText, sendText, sslSession, subprotocol, userDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.quarkus.websockets.next.Connection
close, close, closeAndAwait, closeAndAwait, closeReason, creationTime, handshakeRequest, id, isClosed, isOpen, isSecure, pathParam, sslSession, subprotocol, userDataMethods inherited from interface io.quarkus.websockets.next.Sender
sendBinary, sendBinary, sendBinaryAndAwait, sendBinaryAndAwait, sendPing, sendPingAndAwait, sendPong, sendPongAndAwait, sendText, sendText, sendTextAndAwait, sendTextAndAwait
-
Constructor Details
-
WebSocketConnectionImpl
WebSocketConnectionImpl(String generatedEndpointClass, String endpointClass, io.vertx.core.http.ServerWebSocket webSocket, ConnectionManager connectionManager, Codecs codecs, io.vertx.ext.web.RoutingContext ctx, TrafficLogger trafficLogger, UserData userData, SendingInterceptor sendingInterceptor, Function<WebSocketConnectionImpl, SecuritySupport> securitySupportCreator)
-
-
Method Details
-
securitySupport
SecuritySupport securitySupport() -
webSocket
io.vertx.core.http.WebSocketBase webSocket()- Specified by:
webSocketin classWebSocketConnectionBase
-
endpointId
- Specified by:
endpointIdin interfaceWebSocketConnection- Returns:
- the endpoint id
- See Also:
-
broadcast
Description copied from interface:WebSocketConnectionSends messages to all open clients connected to the same WebSocket endpoint.- Specified by:
broadcastin interfaceWebSocketConnection- Overrides:
broadcastin classWebSocketConnectionBase- Returns:
- the broadcast sender
- See Also:
-
getOpenConnections
Description copied from interface:WebSocketConnectionThe returned set also includes the connection this method is called upon.- Specified by:
getOpenConnectionsin interfaceWebSocketConnection- Returns:
- the set of open connections to the same endpoint
-
toString
-
hashCode
public int hashCode() -
equals
-