接口 BlockRequestHandler

所有已知实现类:
DefaultBlockRequestHandler, RedirectBlockRequestHandler
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public interface BlockRequestHandler
Reactive handler for the blocked request.
作者:
Eric Zhao
  • 方法概要

    修饰符和类型
    方法
    说明
    reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse>
    handleRequest(org.springframework.web.server.ServerWebExchange exchange, Throwable t)
    Handle the blocked request.
  • 方法详细资料

    • handleRequest

      reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> handleRequest(org.springframework.web.server.ServerWebExchange exchange, Throwable t)
      Handle the blocked request.
      参数:
      exchange - server exchange object
      t - block exception
      返回:
      server response to return