public class WebClientStrategyInterceptor extends AbstractStrategyInterceptor implements org.springframework.web.reactive.function.client.ExchangeFilterFunction
| 限定符和类型 | 字段和说明 |
|---|---|
protected StrategyContextHolder |
strategyContextHolder |
protected Boolean |
webClientCoreHeaderTransmissionEnabled |
environment, interceptDebugEnabled, pluginAdapter, requestHeaderList| 构造器和说明 |
|---|
WebClientStrategyInterceptor(String contextRequestHeaders,
String businessRequestHeaders) |
| 限定符和类型 | 方法和说明 |
|---|---|
reactor.core.publisher.Mono<org.springframework.web.reactive.function.client.ClientResponse> |
filter(org.springframework.web.reactive.function.client.ClientRequest request,
org.springframework.web.reactive.function.client.ExchangeFunction next) |
protected com.nepxion.discovery.common.entity.InterceptorType |
getInterceptorType() |
interceptInputHeader, isHeaderContains, isHeaderContainsExcludeInner@Autowired protected StrategyContextHolder strategyContextHolder
@Value(value="${spring.application.strategy.web.client.core.header.transmission.enabled:true}")
protected Boolean webClientCoreHeaderTransmissionEnabled
public reactor.core.publisher.Mono<org.springframework.web.reactive.function.client.ClientResponse> filter(org.springframework.web.reactive.function.client.ClientRequest request,
org.springframework.web.reactive.function.client.ExchangeFunction next)
filter 在接口中 org.springframework.web.reactive.function.client.ExchangeFilterFunctionprotected com.nepxion.discovery.common.entity.InterceptorType getInterceptorType()
Copyright © 2021 Nepxion. All rights reserved.