Package akka.http.javadsl.settings
Class ServerSentEventSettings
java.lang.Object
akka.http.javadsl.settings.ServerSentEventSettings
- Direct Known Subclasses:
ServerSentEventSettings
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
Should events with empty data field be passed to the application.abstract int
The maximum size for parsing server-sent eventsabstract int
The maximum size for parsing lines of a server-sent eventwithEmitEmptyEvents
(boolean newValue) withLineLength
(int newValue) withMaxEventSize
(int newValue)
-
Constructor Details
-
ServerSentEventSettings
public ServerSentEventSettings()
-
-
Method Details
-
emitEmptyEvents
public abstract boolean emitEmptyEvents()Should events with empty data field be passed to the application.- Returns:
- (undocumented)
-
maxEventSize
public abstract int maxEventSize()The maximum size for parsing server-sent events- Returns:
- (undocumented)
-
maxLineSize
public abstract int maxLineSize()The maximum size for parsing lines of a server-sent event- Returns:
- (undocumented)
-
withEmitEmptyEvents
-
withLineLength
-
withMaxEventSize
-