public abstract class AbstractSoulPlugin extends Object implements SoulPlugin
| 构造器和说明 |
|---|
AbstractSoulPlugin() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract reactor.core.publisher.Mono<Void> |
doExecute(org.springframework.web.server.ServerWebExchange exchange,
SoulPluginChain chain,
SelectorData selector,
RuleData rule)
this is Template Method child has Implement your own logic.
|
reactor.core.publisher.Mono<Void> |
execute(org.springframework.web.server.ServerWebExchange exchange,
SoulPluginChain chain)
Process the Web request and (optionally) delegate to the next
WebFilter through the given SoulPluginChain. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOrder, named, pluginType, skipprotected abstract reactor.core.publisher.Mono<Void> doExecute(org.springframework.web.server.ServerWebExchange exchange, SoulPluginChain chain, SelectorData selector, RuleData rule)
exchange - exchange the current server exchange ServerWebExchangechain - chain the current chain ServerWebExchangeselector - selector SelectorDatarule - rule RuleDataMono<Void> to indicate when request handling is completepublic reactor.core.publisher.Mono<Void> execute(org.springframework.web.server.ServerWebExchange exchange, SoulPluginChain chain)
WebFilter through the given SoulPluginChain.execute 在接口中 SoulPluginexchange - the current server exchangechain - provides a way to delegate to the next filterMono<Void> to indicate when request processing is completeCopyright © 2019 dromara. All rights reserved.