程序包的使用
cn.taketoday.http.server.reactive
程序包
说明
Provides implementations of
Encoder
and Decoder for web use.JSON encoder and decoder support.
Abstractions for reactive HTTP server support including a
ServerHttpRequest and
ServerHttpResponse along with an
HttpHandler for processing.Provides a foundation for both the reactive client and server subpackages.
-
类说明Represents a reactive server-side HTTP request.Represents a reactive server-side HTTP response.
-
类说明Represents a reactive server-side HTTP request.Represents a reactive server-side HTTP response.
-
类说明Abstract base class for
Publisherimplementations that bridge between event-listener read APIs and Reactive Streams.Represents a state for thePublisherto be in.Abstract base class for listener-based server responses, e.g.An alternative toAbstractListenerWriteProcessorbut instead writing aPublisher<Publisher<T>>with flush boundaries enforces after the completion of each nested Publisher.Represents a state for theProcessorto be in.Abstract base class forProcessorimplementations that bridge between event-listener write APIs and Reactive Streams.Represents a state for theProcessorto be in.Common base class forServerHttpRequestimplementations.Base class forServerHttpResponseimplementations.COMMITTING -> COMMITTED is the period after doCommit is called but before the response status and headers have been applied to the underlying response during which time pre-commit actions can still make changes to the response status and headers.A barrier inserted between the write source and the write subscriber (i.e. the HTTP server adapter) that pre-fetches and waits for the first signal before deciding whether to hook in to the write subscriber.We need an extra barrier between the WriteBarrier itself and the actual completion subscriber.Lowest level contract for reactive HTTP request handling that serves as a common denominator across different runtimes.Represents a reactive server-side HTTP request.Builder for mutating an existingServerHttpRequest.Represents a reactive server-side HTTP response.Wraps anotherServerHttpResponseand delegates all methods to it.AdaptHttpHandlerto anHttpServletusing Servlet Async support and Servlet 3.1 non-blocking I/O.AdaptServerHttpRequestto the ServletHttpServletRequest.AdaptServerHttpResponseto the ServletHttpServletResponse.A holder for SSL session information.AdaptServerHttpRequestto the UndertowHttpServerExchange.Publisher returned fromReactiveHttpOutputMessage.writeWith(Publisher).Represents a state for thePublisherto be in. -
类说明Represents a reactive server-side HTTP request.Represents a reactive server-side HTTP response.