Package | Description |
---|---|
org.springframework.http.codec | |
org.springframework.web.reactive.function |
Provides a foundation for both the reactive client and server subpackages.
|
Modifier and Type | Method and Description |
---|---|
ServerSentEvent<T> |
ServerSentEvent.Builder.build()
Builds the event.
|
Modifier and Type | Method and Description |
---|---|
static <T,S extends org.reactivestreams.Publisher<ServerSentEvent<T>>> |
BodyInserters.fromServerSentEvents(S eventsPublisher)
Return a
BodyInserter that writes the given ServerSentEvent publisher. |