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 voidappendData(java.lang.String value)ServerSentEventbuild()booleanhasData()voidreset()voidsetId(java.lang.String value)voidsetRetry(int value, int length)voidsetType(java.lang.String value)intsize()
-
-
-
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()
-
-