类的使用
cn.taketoday.http.codec.ServerSentEvent
使用ServerSentEvent的程序包
程序包
说明
Provides implementations of
Encoder
and Decoder for web use.Method handler
Provides a foundation for both the reactive client and server subpackages.
-
cn.taketoday.http.codec中ServerSentEvent的使用
-
cn.taketoday.web.handler.method中ServerSentEvent的使用
修饰符和类型方法说明private SseEmitter.SseEventBuilderReactiveTypeHandler.SseEmitterSubscriber.adapt(ServerSentEvent<?> sse) -
cn.taketoday.web.reactive.function中ServerSentEvent的使用
修饰符和类型方法说明static <T,S extends org.reactivestreams.Publisher<ServerSentEvent<T>>>
BodyInserter<S,ServerHttpResponse> BodyInserters.fromServerSentEvents(S eventsPublisher) Inserter to write the givenServerSentEventpublisher.