public class DefaultBlockRequestHandler extends Object implements BlockRequestHandler
BlockRequestHandler.
Compatible with Spring WebFlux and Spring Cloud Gateway.| Constructor and Description |
|---|
DefaultBlockRequestHandler() |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> |
handleRequest(org.springframework.web.server.ServerWebExchange exchange,
Throwable ex)
Handle the blocked request.
|
public reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> handleRequest(org.springframework.web.server.ServerWebExchange exchange,
Throwable ex)
BlockRequestHandlerhandleRequest in interface BlockRequestHandlerexchange - server exchange objectex - block exceptionCopyright © 2021 Alibaba Group. All rights reserved.