Interface ExtendedWebSocketCallback

All Superinterfaces:
io.undertow.websockets.core.WebSocketCallback<Void>

public interface ExtendedWebSocketCallback extends io.undertow.websockets.core.WebSocketCallback<Void>
An extension of WebSocketCallback that adds a notification for the situation when a WebSocketChannel is closed before any message could be sent to it.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    closedBeforeSent(io.undertow.websockets.core.WebSocketChannel channel)
     

    Methods inherited from interface io.undertow.websockets.core.WebSocketCallback

    complete, onError
  • Method Details

    • closedBeforeSent

      void closedBeforeSent(io.undertow.websockets.core.WebSocketChannel channel)
      Parameters:
      channel - the channel that was closed before any messages could be sent to it