public static final class ServerSentEventParser.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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() |
public void appendData(java.lang.String value)
public ServerSentEvent build()
public boolean hasData()
public void reset()
public void setId(java.lang.String value)
public void setRetry(int value, int length)
public void setType(java.lang.String value)
public int size()