Class WebFluxServiceRegistryAutoConfiguration
- java.lang.Object
-
- io.microsphere.spring.cloud.client.service.registry.autoconfigure.WebServiceRegistryAutoConfiguration
-
- io.microsphere.spring.cloud.client.service.registry.autoconfigure.WebFluxServiceRegistryAutoConfiguration
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.context.ApplicationListener<io.microsphere.spring.web.event.WebEndpointMappingsReadyEvent>
@ConditionalOnWebApplication(type=REACTIVE) public class WebFluxServiceRegistryAutoConfiguration extends WebServiceRegistryAutoConfiguration
Auto-Configuration class forServiceRegistryon the Spring WebFlux Application- Since:
- 1.0.0
- Author:
- Mercy
-
-
Field Summary
-
Fields inherited from class io.microsphere.spring.cloud.client.service.registry.autoconfigure.WebServiceRegistryAutoConfiguration
actuatorBasePath, logger
-
-
Constructor Summary
Constructors Constructor Description WebFluxServiceRegistryAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetContextPath()Get the context path of the Spring Web Applicationprotected booleanisExcludedMapping(io.microsphere.spring.web.metadata.WebEndpointMapping mapping, java.lang.String[] patterns)Is excluded mapping-
Methods inherited from class io.microsphere.spring.cloud.client.service.registry.autoconfigure.WebServiceRegistryAutoConfiguration
isActuatorWebEndpointMapping, onApplicationEvent
-
-
-
-
Method Detail
-
getContextPath
protected java.lang.String getContextPath()
Description copied from class:WebServiceRegistryAutoConfigurationGet the context path of the Spring Web Application- Specified by:
getContextPathin classWebServiceRegistryAutoConfiguration- Returns:
- context path
-
isExcludedMapping
protected boolean isExcludedMapping(io.microsphere.spring.web.metadata.WebEndpointMapping mapping, java.lang.String[] patterns)Description copied from class:WebServiceRegistryAutoConfigurationIs excluded mapping- Specified by:
isExcludedMappingin classWebServiceRegistryAutoConfiguration- Parameters:
mapping-WebEndpointMappingpatterns- patterns- Returns:
- if excluded mapping, return
true, orfalse
-
-