public interface TextStream
| Modifier and Type | Method and Description |
|---|---|
void |
endOfStream(java.lang.Throwable failure)
Called when the end of the stream is reached for some reason.
|
void |
text(java.lang.String text)
Called when some chunk of text is available.
|
void text(java.lang.String text)
void endOfStream(@Nullable
java.lang.Throwable failure)
failure - The failure, if any, which caused the end of the stream.