Class ConsumerEndpoint
java.lang.Object
jakarta.websocket.Endpoint
io.fluxzero.testserver.websocket.WebsocketEndpoint
io.fluxzero.testserver.websocket.ConsumerEndpoint
-
Nested Class Summary
Nested classes/interfaces inherited from class WebsocketEndpoint
WebsocketEndpoint.ClientMessage, WebsocketEndpoint.SessionBacklog -
Field Summary
Fields inherited from class WebsocketEndpoint
shutDown, shuttingDown -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class WebsocketEndpoint
createTasks, deserializeRequest, doSendResult, findAlternativeBacklog, getClientId, getClientName, getCompressionAlgorithm, getNamespace, handleMessage, onError, onOpen, registerMetrics, sendResultBatch, sessionMetadata
-
Constructor Details
-
ConsumerEndpoint
-
-
Method Details
-
onClose
public void onClose(jakarta.websocket.Session session, jakarta.websocket.CloseReason closeReason) - Overrides:
onClosein classWebsocketEndpoint
-
shutDown
protected void shutDown()Description copied from class:WebsocketEndpointClose all sessions on the websocket after an optional delay. During the delay we don't handle new requests but will be able to send back results.- Overrides:
shutDownin classWebsocketEndpoint
-
toString
-