Interface LiveDataHandler.FailureCallback

Enclosing class:
LiveDataHandler
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface LiveDataHandler.FailureCallback
Notification that is called when a message send fails.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(@NotNull io.undertow.server.handlers.sse.ServerSentEventConnection connection, @Nullable String data, @Nullable String event, @Nullable String id, @NotNull IOException exception)
     
  • Method Details

    • apply

      void apply(@NotNull @NotNull io.undertow.server.handlers.sse.ServerSentEventConnection connection, @Nullable @Nullable String data, @Nullable @Nullable String event, @Nullable @Nullable String id, @NotNull @NotNull IOException exception)
      Parameters:
      connection - The connection
      data - The message data
      event - The message event
      id - The message id
      exception - The exception