Interface webHandler

All Known Implementing Classes:
DispatcherHandler, ExceptionHandlingwebHandler, FilteringwebHandler, HttpwebHandlerAdapter, ResourcewebHandler, webHandlerDecorator

public interface webHandler
Contract to handle a web request.

Use HttpwebHandlerAdapter to adapt a webHandler to an HttpHandler. The webHttpHandlerBuilder provides a convenient way to do that while also optionally configuring one or more filters and/or exception handlers.

Since:
5.0
Author:
Rossen Stoyanchev
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Mono<Void>
    Handle the web server exchange.
  • Method Details

    • handle

      reactor.core.publisher.Mono<Void> handle(ServerwebExchange exchange)
      Handle the web server exchange.
      Parameters:
      exchange - the current server exchange
      Returns:
      Mono<Void> to indicate when request handling is complete