@Configuration @EnableConfigurationProperties(value=ZuulProperties.class) @ConditionalOnClass(value=com.netflix.zuul.http.ZuulServlet.class) @ConditionalOnBean(value=org.springframework.cloud.netflix.zuul.ZuulServerMarkerConfiguration.Marker.class) @Import(value=org.springframework.boot.autoconfigure.web.ServerPropertiesAutoConfiguration.class) public class ZuulServerAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ZuulServerAutoConfiguration.ZuulCounterFactoryConfiguration |
protected static class |
ZuulServerAutoConfiguration.ZuulFilterConfiguration |
protected static class |
ZuulServerAutoConfiguration.ZuulMetricsConfiguration |
Modifier and Type | Field and Description |
---|---|
protected org.springframework.boot.autoconfigure.web.ServerProperties |
server |
protected ZuulProperties |
zuulProperties |
Constructor and Description |
---|
ZuulServerAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
DebugFilter |
debugFilter() |
FormBodyWrapperFilter |
formBodyWrapperFilter() |
CompositeRouteLocator |
primaryRouteLocator(Collection<RouteLocator> routeLocators) |
SendErrorFilter |
sendErrorFilter() |
SendForwardFilter |
sendForwardFilter() |
SendResponseFilter |
sendResponseFilter() |
Servlet30WrapperFilter |
servlet30WrapperFilter() |
ServletDetectionFilter |
servletDetectionFilter() |
SimpleRouteLocator |
simpleRouteLocator() |
ZuulController |
zuulController() |
org.springframework.cloud.client.actuator.HasFeatures |
zuulFeature() |
ZuulHandlerMapping |
zuulHandlerMapping(RouteLocator routes) |
org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent> |
zuulRefreshRoutesListener() |
ZuulRouteApplicationContextInitializer |
zuulRoutesApplicationContextInitiazer(SpringClientFactory springClientFactory) |
org.springframework.boot.web.servlet.ServletRegistrationBean |
zuulServlet() |
@Autowired protected ZuulProperties zuulProperties
@Autowired protected org.springframework.boot.autoconfigure.web.ServerProperties server
@Bean public org.springframework.cloud.client.actuator.HasFeatures zuulFeature()
@Bean @Primary public CompositeRouteLocator primaryRouteLocator(Collection<RouteLocator> routeLocators)
@Bean @ConditionalOnMissingBean(value=SimpleRouteLocator.class) public SimpleRouteLocator simpleRouteLocator()
@Bean public ZuulController zuulController()
@Bean public ZuulHandlerMapping zuulHandlerMapping(RouteLocator routes)
@Bean public org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent> zuulRefreshRoutesListener()
@Bean @ConditionalOnMissingBean(name="zuulServlet") public org.springframework.boot.web.servlet.ServletRegistrationBean zuulServlet()
@Bean public ServletDetectionFilter servletDetectionFilter()
@Bean public FormBodyWrapperFilter formBodyWrapperFilter()
@Bean public DebugFilter debugFilter()
@Bean public Servlet30WrapperFilter servlet30WrapperFilter()
@Bean public SendResponseFilter sendResponseFilter()
@Bean public SendErrorFilter sendErrorFilter()
@Bean public SendForwardFilter sendForwardFilter()
@Bean @ConditionalOnProperty(value="zuul.ribbon.eager-load.enabled", matchIfMissing=false) public ZuulRouteApplicationContextInitializer zuulRoutesApplicationContextInitiazer(SpringClientFactory springClientFactory)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.