public interface ShenyuPlugin
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
execute(org.springframework.web.server.ServerWebExchange exchange,
ShenyuPluginChain chain)
Process the Web request and (optionally) delegate to the next
WebFilter through the given ShenyuPluginChain. |
int |
getOrder()
return plugin order .
|
default String |
named()
acquire plugin name.
|
default Boolean |
skip(org.springframework.web.server.ServerWebExchange exchange)
plugin is execute.
|
reactor.core.publisher.Mono<Void> execute(org.springframework.web.server.ServerWebExchange exchange, ShenyuPluginChain chain)
WebFilter through the given ShenyuPluginChain.exchange - the current server exchangechain - provides a way to delegate to the next filterMono<Void> to indicate when request processing is completeint getOrder()
default String named()
default Boolean skip(org.springframework.web.server.ServerWebExchange exchange)
exchange - the current server exchangeCopyright © 2021 The Apache Software Foundation. All rights reserved.