public class ApplicationRouteLocator extends Object implements org.springframework.cloud.netflix.zuul.filters.RefreshableRouteLocator
| Modifier and Type | Class and Description |
|---|---|
static class |
ApplicationRouteLocator.ApplicationRoute |
| Constructor and Description |
|---|
ApplicationRouteLocator(String servletPath,
ApplicationRegistry registry,
String prefix) |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getIgnoredPaths() |
ApplicationRouteLocator.ApplicationRoute |
getMatchingRoute(String path) |
List<org.springframework.cloud.netflix.zuul.filters.Route> |
getRoutes() |
protected List<ApplicationRouteLocator.ApplicationRoute> |
locateRoutes() |
void |
refresh() |
void |
setEndpoints(String[] proxyEndpoints) |
public ApplicationRouteLocator(String servletPath, ApplicationRegistry registry, String prefix)
protected List<ApplicationRouteLocator.ApplicationRoute> locateRoutes()
public ApplicationRouteLocator.ApplicationRoute getMatchingRoute(String path)
getMatchingRoute in interface org.springframework.cloud.netflix.zuul.filters.RouteLocatorpublic List<org.springframework.cloud.netflix.zuul.filters.Route> getRoutes()
getRoutes in interface org.springframework.cloud.netflix.zuul.filters.RouteLocatorpublic void refresh()
refresh in interface org.springframework.cloud.netflix.zuul.filters.RefreshableRouteLocatorpublic Collection<String> getIgnoredPaths()
getIgnoredPaths in interface org.springframework.cloud.netflix.zuul.filters.RouteLocatorpublic void setEndpoints(String[] proxyEndpoints)
Copyright © 2018 codecentric AG. All rights reserved.