Class ServerSentEventParser.Builder
- java.lang.Object
-
- akka.http.scaladsl.unmarshalling.sse.ServerSentEventParser.Builder
-
- Enclosing class:
- ServerSentEventParser
public static final class ServerSentEventParser.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendData(java.lang.String value)
ServerSentEvent
build()
boolean
hasData()
void
reset()
void
setId(java.lang.String value)
void
setRetry(int value, int length)
void
setType(java.lang.String value)
int
size()
-
-
-
Method Detail
-
appendData
public void appendData(java.lang.String value)
-
build
public ServerSentEvent build()
-
hasData
public boolean hasData()
-
reset
public void reset()
-
setId
public void setId(java.lang.String value)
-
setRetry
public void setRetry(int value, int length)
-
setType
public void setType(java.lang.String value)
-
size
public int size()
-
-