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 Publisher<ServerSentEvent<T>>> |
BodyInserters.fromServerSentEvents(S eventsPublisher)
Inserter to write the given
ServerSentEvent publisher. |