@ConfigurationProperties(value="zuul") public class ZuulProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ZuulProperties.Host |
static class |
ZuulProperties.HystrixSemaphore |
static class |
ZuulProperties.HystrixThreadPool |
static class |
ZuulProperties.ZuulRoute |
Modifier and Type | Field and Description |
---|---|
static List<String> |
SECURITY_HEADERS
Headers that are generally expected to be added by Spring Security, and hence often
duplicated if the proxy and the backend are secured with Spring.
|
Constructor and Description |
---|
ZuulProperties() |
public static final List<String> SECURITY_HEADERS
@PostConstruct public void init()
public String getServletPattern()
public String getPrefix()
public void setPrefix(String prefix)
public boolean isStripPrefix()
public void setStripPrefix(boolean stripPrefix)
public Boolean getRetryable()
public void setRetryable(Boolean retryable)
public Map<String,ZuulProperties.ZuulRoute> getRoutes()
public void setRoutes(Map<String,ZuulProperties.ZuulRoute> routes)
public boolean isAddProxyHeaders()
public void setAddProxyHeaders(boolean addProxyHeaders)
public boolean isAddHostHeader()
public void setAddHostHeader(boolean addHostHeader)
public boolean isIgnoreSecurityHeaders()
public void setIgnoreSecurityHeaders(boolean ignoreSecurityHeaders)
public boolean isForceOriginalQueryStringEncoding()
public void setForceOriginalQueryStringEncoding(boolean forceOriginalQueryStringEncoding)
public String getServletPath()
public void setServletPath(String servletPath)
public boolean isIgnoreLocalService()
public void setIgnoreLocalService(boolean ignoreLocalService)
public ZuulProperties.Host getHost()
public void setHost(ZuulProperties.Host host)
public boolean isTraceRequestBody()
public void setTraceRequestBody(boolean traceRequestBody)
public boolean isRemoveSemicolonContent()
public void setRemoveSemicolonContent(boolean removeSemicolonContent)
public boolean isSslHostnameValidationEnabled()
public void setSslHostnameValidationEnabled(boolean sslHostnameValidationEnabled)
public com.netflix.hystrix.HystrixCommandProperties.ExecutionIsolationStrategy getRibbonIsolationStrategy()
public void setRibbonIsolationStrategy(com.netflix.hystrix.HystrixCommandProperties.ExecutionIsolationStrategy ribbonIsolationStrategy)
public ZuulProperties.HystrixSemaphore getSemaphore()
public void setSemaphore(ZuulProperties.HystrixSemaphore semaphore)
public ZuulProperties.HystrixThreadPool getThreadPool()
public void setThreadPool(ZuulProperties.HystrixThreadPool threadPool)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.