public final class ShenyuWebHandler extends Object implements org.springframework.web.server.WebHandler
| Constructor and Description |
|---|
ShenyuWebHandler(List<org.apache.shenyu.plugin.api.ShenyuPlugin> plugins)
Instantiates a new shenyu web handler.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
handle(org.springframework.web.server.ServerWebExchange exchange)
Handle the web server exchange.
|
public ShenyuWebHandler(List<org.apache.shenyu.plugin.api.ShenyuPlugin> plugins)
plugins - the pluginspublic reactor.core.publisher.Mono<Void> handle(@NonNull org.springframework.web.server.ServerWebExchange exchange)
handle in interface org.springframework.web.server.WebHandlerexchange - the current server exchangeMono<Void> to indicate when request handling is completeCopyright © 2021 The Apache Software Foundation. All rights reserved.