public class NettyHttpClientPlugin extends Object implements SoulPlugin
| 构造器和说明 |
|---|
NettyHttpClientPlugin(reactor.netty.http.client.HttpClient httpClient)
Instantiates a new Netty http client plugin.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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. |
int |
getOrder()
return plugin order .
|
String |
named()
acquire plugin name.
|
PluginTypeEnum |
pluginType()
return plugin type.
|
Boolean |
skip(org.springframework.web.server.ServerWebExchange exchange)
plugin is execute.
|
public NettyHttpClientPlugin(reactor.netty.http.client.HttpClient httpClient)
httpClient - the http clientpublic reactor.core.publisher.Mono<Void> execute(org.springframework.web.server.ServerWebExchange exchange, SoulPluginChain chain)
SoulPluginWebFilter 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 completepublic PluginTypeEnum pluginType()
SoulPluginpluginType 在接口中 SoulPluginpublic int getOrder()
SoulPlugingetOrder 在接口中 SoulPluginpublic Boolean skip(org.springframework.web.server.ServerWebExchange exchange)
SoulPluginskip 在接口中 SoulPluginexchange - the current server exchangepublic String named()
SoulPluginnamed 在接口中 SoulPluginCopyright © 2019 dromara. All rights reserved.