@Configuration
@ComponentScan(value="org.dromara.soul")
@Import(value={ErrorHandlerConfiguration.class,SoulExtConfiguration.class,SpringExtConfiguration.class})
public class SoulConfiguration
extends Object
| 构造器和说明 |
|---|
SoulConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.web.server.WebFilter |
crossFilter()
Cross filter web filter.
|
DubboParamResolveService |
defaultDubboParamResolveService()
Generic param resolve service dubbo param resolve service.
|
org.springframework.web.reactive.DispatcherHandler |
dispatcherHandler()
init dispatch handler.
|
DubboParamResolveService |
dubboMultiParameterResolveServiceImpl()
Generic param resolve service generic param resolve service.
|
org.springframework.web.server.WebFilter |
fileSizeFilter()
Body web filter web filter.
|
org.dromara.soul.sync.data.api.PluginDataSubscriber |
pluginDataSubscriber(org.springframework.beans.factory.ObjectProvider<List<PluginDataHandler>> pluginDataHandlerList)
Plugin data subscriber plugin data subscriber.
|
RemoteAddressResolver |
remoteAddressResolver()
Remote address resolver remote address resolver.
|
SoulConfig |
soulConfig()
Soul config soul config.
|
SoulWebHandler |
soulWebHandler(org.springframework.beans.factory.ObjectProvider<List<SoulPlugin>> plugins)
init SoulWebHandler.
|
org.springframework.web.server.WebFilter |
timeWebFilter(SoulConfig soulConfig)
init time web filter.
|
org.springframework.web.server.WebFilter |
webSocketWebFilter()
Web socket web filter web filter.
|
@Bean(value="webHandler") public SoulWebHandler soulWebHandler(org.springframework.beans.factory.ObjectProvider<List<SoulPlugin>> plugins)
plugins - this plugins is All impl SoulPlugin.@Bean(value="dispatcherHandler") public org.springframework.web.reactive.DispatcherHandler dispatcherHandler()
DispatcherHandler.@Bean public org.dromara.soul.sync.data.api.PluginDataSubscriber pluginDataSubscriber(org.springframework.beans.factory.ObjectProvider<List<PluginDataHandler>> pluginDataHandlerList)
pluginDataHandlerList - the plugin data handler list@Bean
@ConditionalOnProperty(name="soul.dubbo.parameter",
havingValue="multi")
public DubboParamResolveService dubboMultiParameterResolveServiceImpl()
@Bean @ConditionalOnMissingBean(value=org.dromara.soul.plugin.api.dubbo.DubboParamResolveService.class, search=ALL) public DubboParamResolveService defaultDubboParamResolveService()
@Bean @ConditionalOnMissingBean(value=org.dromara.soul.plugin.api.RemoteAddressResolver.class) public RemoteAddressResolver remoteAddressResolver()
@Bean
@Order(value=-100)
@ConditionalOnProperty(name="soul.cross.enabled",
havingValue="true")
public org.springframework.web.server.WebFilter crossFilter()
@Bean
@Order(value=-10)
@ConditionalOnProperty(name="soul.file.enabled",
havingValue="true")
public org.springframework.web.server.WebFilter fileSizeFilter()
@Bean @ConfigurationProperties(prefix="soul") public SoulConfig soulConfig()
@Bean @Order(value=30) @ConditionalOnProperty(name="soul.filterTimeEnable") public org.springframework.web.server.WebFilter timeWebFilter(SoulConfig soulConfig)
soulConfig - the soul config@Bean @Order(value=4) public org.springframework.web.server.WebFilter webSocketWebFilter()
Copyright © 2020 dromara. All rights reserved.