Class ServerSentEventSettings

  • Direct Known Subclasses:

    public abstract class ServerSentEventSettings
    extends java.lang.Object
    Public API but not intended for subclassing

    Options that are in "preview" or "early access" mode. These options may change and/or be removed within patch releases without early notice (e.g. by moving them into a stable supported place).

    • Constructor Detail

      • ServerSentEventSettings

        public ServerSentEventSettings()
    • Method Detail

      • emitEmptyEvents

        public abstract boolean emitEmptyEvents()
        Should events with empty data field be passed to the application.
      • maxEventSize

        public abstract int maxEventSize()
        The maximum size for parsing server-sent events
      • maxLineSize

        public abstract int maxLineSize()
        The maximum size for parsing lines of a server-sent event