类 DefaultBlockRequestHandler
java.lang.Object
com.alibaba.csp.sentinel.adapter.gateway.sc.callback.DefaultBlockRequestHandler
- 所有已实现的接口:
BlockRequestHandler
The default implementation of
BlockRequestHandler.
Compatible with Spring WebFlux v6x and Spring Cloud Gateway.- 作者:
- uuuyuqi
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse>handleRequest(org.springframework.web.server.ServerWebExchange exchange, Throwable ex) Handle the blocked request.
-
构造器详细资料
-
DefaultBlockRequestHandler
public DefaultBlockRequestHandler()
-
-
方法详细资料
-
handleRequest
public reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> handleRequest(org.springframework.web.server.ServerWebExchange exchange, Throwable ex) 从接口复制的说明:BlockRequestHandlerHandle the blocked request.- 指定者:
handleRequest在接口中BlockRequestHandler- 参数:
exchange- server exchange objectex- block exception- 返回:
- server response to return
-