Uses of Class
org.apache.juneau.marshall.sse.SseEvent
Packages that use SseEvent
Package
Description
Server-Sent Events (SSE) marshalling support —
text/event-stream.Revision-neutral core for MCP endpoints built on
juneau-rest-server.Server-Sent Events (SSE) support for Juneau REST servers.
-
Uses of SseEvent in org.apache.juneau.marshall.sse
Methods in org.apache.juneau.marshall.sse that return SseEventModifier and TypeMethodDescriptionSseEventReader.next()Sets the data payload.Sets the event-type name.Sets the last-event-id value.Sets the reconnect-delay hint in milliseconds.Methods in org.apache.juneau.marshall.sse that return types with arguments of type SseEvent -
Uses of SseEvent in org.apache.juneau.rest.server.mcp
Methods in org.apache.juneau.rest.server.mcp that return types with arguments of type SseEventModifier and TypeMethodDescriptionMcpStreamResult.stream()Returns the value of thestreamrecord component.Constructor parameters in org.apache.juneau.rest.server.mcp with type arguments of type SseEventModifierConstructorDescriptionMcpStreamResult(Flow.Publisher<SseEvent> stream) Creates an instance of aMcpStreamResultrecord class. -
Uses of SseEvent in org.apache.juneau.rest.server.sse
Methods in org.apache.juneau.rest.server.sse that return SseEventModifier and TypeMethodDescriptionWaits up to a timeout for the next event.SseSubscription.take()Blocks until the next event is available.Methods in org.apache.juneau.rest.server.sse that return types with arguments of type SseEventMethods in org.apache.juneau.rest.server.sse with parameters of type SseEventModifier and TypeMethodDescriptionbooleanQueues an event, dropping the oldest queued event when the queue is full.voidPublishes an event to all active subscribers.Sends an SSE event.