polish
This commit is contained in:
@@ -88,12 +88,14 @@ public class SimpleRouteLocator implements RouteLocator {
|
||||
this.routes.set(locateRoutes());
|
||||
}
|
||||
|
||||
log.debug("servletPath=" + this.dispatcherServletPath);
|
||||
log.debug("zuulServletPath=" + this.zuulServletPath);
|
||||
log.debug("RequestUtils.isDispatcherServletRequest()="
|
||||
+ RequestUtils.isDispatcherServletRequest());
|
||||
log.debug("RequestUtils.isZuulServletRequest()="
|
||||
+ RequestUtils.isZuulServletRequest());
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("servletPath=" + this.dispatcherServletPath);
|
||||
log.debug("zuulServletPath=" + this.zuulServletPath);
|
||||
log.debug("RequestUtils.isDispatcherServletRequest()="
|
||||
+ RequestUtils.isDispatcherServletRequest());
|
||||
log.debug("RequestUtils.isZuulServletRequest()="
|
||||
+ RequestUtils.isZuulServletRequest());
|
||||
}
|
||||
|
||||
String adjustedPath = adjustPath(path);
|
||||
|
||||
@@ -108,7 +110,9 @@ public class SimpleRouteLocator implements RouteLocator {
|
||||
}
|
||||
}
|
||||
}
|
||||
log.debug("route matched=" + route);
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("route matched=" + route);
|
||||
}
|
||||
|
||||
return getRoute(route, adjustedPath);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user