org.springframework.web.server.handler

Class FilteringWebHandler

    • Constructor Detail

      • FilteringWebHandler

        public FilteringWebHandler(WebHandler webHandler,
                                   java.util.List<WebFilter> filters)
        Constructor.
        Parameters:
        filters - the chain of filters
    • Method Detail

      • getFilters

        public java.util.List<WebFilter> getFilters()
        Return a read-only list of the configured filters.
      • handle

        public reactor.core.publisher.Mono<java.lang.Void> handle(ServerWebExchange exchange)
        Description copied from interface: WebHandler
        Handle the web server exchange.
        Specified by:
        handle in interface WebHandler
        Overrides:
        handle in class WebHandlerDecorator
        Parameters:
        exchange - the current server exchange
        Returns:
        Mono<Void> to indicate when request handling is complete