接口 HttpHandler
- 所有已知实现类:
ContextPathCompositeHandler
public interface HttpHandler
Lowest level contract for reactive HTTP request handling that serves as a
common denominator across different runtimes.
Higher-level, but still generic, building blocks for applications such as
WebFilter, WebSession, ServerWebExchange, and others
are available in the cn.taketoday.web.server package.
- 从以下版本开始:
- 4.0
- 作者:
- Arjen Poutsma, Rossen Stoyanchev, Harry Yang
- 另请参阅:
-
方法概要
修饰符和类型方法说明reactor.core.publisher.Mono<Void>handle(ServerHttpRequest request, ServerHttpResponse response) Handle the given request and write to the response.
-
方法详细资料
-
handle
Handle the given request and write to the response.- 参数:
request- current requestresponse- current response- 返回:
- indicates completion of request handling
-