程序包 org.springframework.http.server.reactive
Abstractions for reactive HTTP server support including a
ServerHttpRequest and ServerHttpResponse along with an HttpHandler for processing. Also provides implementations adapting to different runtimes including Servlet 3.1 containers, Netty + Reactor IO, and Undertow.
接口概要 接口 说明 HttpHandler Lowest level contract for reactive HTTP request handling that serves as a common denominator across different runtimes.ServerHttpRequest Represents a reactive server-side HTTP request.ServerHttpRequest.Builder Builder for mutating an existingServerHttpRequest.ServerHttpResponse Represents a reactive server-side HTTP response.SslInfo A holder for SSL session information.类概要 类 说明 AbstractListenerReadPublisher<T> Abstract base class forPublisherimplementations that bridge between event-listener read APIs and Reactive Streams.AbstractListenerServerHttpResponse Abstract base class for listener-based server responses, e.g.AbstractListenerWriteFlushProcessor<T> An alternative toAbstractListenerWriteProcessorbut instead writing aPublisher<Publisher<T>>with flush boundaries enforces after the completion of each nested Publisher.AbstractListenerWriteProcessor<T> Abstract base class forProcessorimplementations that bridge between event-listener write APIs and Reactive Streams.AbstractServerHttpRequest Common base class forServerHttpRequestimplementations.AbstractServerHttpResponse Base class forServerHttpResponseimplementations.ChannelSendOperator<T> Given a write function that accepts a sourcePublisher<T>to write with and returnsPublisher<Void>for the result, this operator helps to defer the invocation of the write function, until we know if the source publisher will begin publishing without an error.ContextPathCompositeHandler HttpHandlerdelegating requests to one of severalHttpHandler's based on simple, prefix-based mappings.HttpHeadResponseDecorator ServerHttpResponsedecorator for HTTP HEAD requests.JettyHttpHandlerAdapter ServletHttpHandlerAdapterextension that uses Jetty APIs for writing to the response withByteBuffer.ReactorHttpHandlerAdapter AdaptHttpHandlerto the Reactor Netty channel handling function.ServerHttpRequestDecorator Wraps anotherServerHttpRequestand delegates all methods to it.ServerHttpResponseDecorator Wraps anotherServerHttpResponseand delegates all methods to it.ServletHttpHandlerAdapter AdaptHttpHandlerto anHttpServletusing Servlet Async support and Servlet 3.1 non-blocking I/O.TomcatHttpHandlerAdapter ServletHttpHandlerAdapterextension that uses Tomcat APIs for reading from the request and writing to the response withByteBuffer.UndertowHttpHandlerAdapter AdaptHttpHandlerto the UndertowHttpHandler.