public abstract class ServerSentEventSettings
extends java.lang.Object
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 and Description |
---|
ServerSentEventSettings() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
emitEmptyEvents()
Should events with empty data field be passed to the application.
|
abstract int |
maxEventSize()
The maximum size for parsing server-sent events
|
abstract int |
maxLineSize()
The maximum size for parsing lines of a server-sent event
|
ServerSentEventSettings |
withEmitEmptyEvents(boolean newValue) |
ServerSentEventSettings |
withLineLength(int newValue) |
ServerSentEventSettings |
withMaxEventSize(int newValue) |
public abstract boolean emitEmptyEvents()
public abstract int maxEventSize()
public abstract int maxLineSize()
public ServerSentEventSettings withEmitEmptyEvents(boolean newValue)
public ServerSentEventSettings withLineLength(int newValue)
public ServerSentEventSettings withMaxEventSize(int newValue)