public class SSEDecoder extends Object
| Constructor and Description |
|---|
SSEDecoder(InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the decoder and release resources.
|
ServerSentEvent |
decodeEvent()
Decode a single SSE event from the stream.
|
public SSEDecoder(InputStream inputStream)
public ServerSentEvent decodeEvent() throws IOException
IOException - if reading failspublic void close()
throws IOException
IOExceptionCopyright © 2026. All rights reserved.