Interface ServerSentEventParsingHandle

All Known Implementing Classes:
CancellationUnsupportedHandle, DefaultServerSentEventParsingHandle

@Experimental public interface ServerSentEventParsingHandle
Handle that can be used to cancel the parsing of server-sent events.
Since:
1.8.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Cancels the parsing of server-sent events.
    boolean
    Returns true if parsing was cancelled by calling cancel().
  • Method Details

    • cancel

      void cancel()
      Cancels the parsing of server-sent events.
    • isCancelled

      boolean isCancelled()
      Returns true if parsing was cancelled by calling cancel().