T - the type to parse SSE events intopublic interface SSEParser<T>
| Modifier and Type | Method and Description |
|---|---|
Exception |
handleError(ServerSentEvent sse)
Handle error events from SSE stream.
|
T |
parse(ServerSentEvent sse)
Parse an SSE event into the target type.
|
T parse(ServerSentEvent sse) throws Exception
sse - the SSE event to parseException - if parsing failsException handleError(ServerSentEvent sse)
sse - the SSE event that may contain an errorCopyright © 2026. All rights reserved.