diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/support/ServletUriComponentsBuilder.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/support/ServletUriComponentsBuilder.java index 04fac7210dd6..2d6923a52073 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/support/ServletUriComponentsBuilder.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/support/ServletUriComponentsBuilder.java @@ -169,7 +169,7 @@ private static ServletUriComponentsBuilder initFromRequest(HttpServletRequest re * *
As of 4.3.15, this method replaces the contextPath with the value * of "X-Forwarded-Prefix" rather than prepending, thus aligning with - * {@code ForwardedHeaderFiller}. + * {@code ForwardedHeaderFilter}. */ public static ServletUriComponentsBuilder fromCurrentContextPath() { return fromContextPath(getCurrentRequest()); @@ -184,7 +184,7 @@ public static ServletUriComponentsBuilder fromCurrentContextPath() { * *
As of 4.3.15, this method replaces the contextPath with the value * of "X-Forwarded-Prefix" rather than prepending, thus aligning with - * {@code ForwardedHeaderFiller}. + * {@code ForwardedHeaderFilter}. */ public static ServletUriComponentsBuilder fromCurrentServletMapping() { return fromServletMapping(getCurrentRequest()); @@ -199,7 +199,7 @@ public static ServletUriComponentsBuilder fromCurrentServletMapping() { * *
As of 4.3.15, this method replaces the contextPath with the value * of "X-Forwarded-Prefix" rather than prepending, thus aligning with - * {@code ForwardedHeaderFiller}. + * {@code ForwardedHeaderFilter}. */ public static ServletUriComponentsBuilder fromCurrentRequestUri() { return fromRequestUri(getCurrentRequest()); @@ -214,7 +214,7 @@ public static ServletUriComponentsBuilder fromCurrentRequestUri() { * *
As of 4.3.15, this method replaces the contextPath with the value * of "X-Forwarded-Prefix" rather than prepending, thus aligning with - * {@code ForwardedHeaderFiller}. + * {@code ForwardedHeaderFilter}. */ public static ServletUriComponentsBuilder fromCurrentRequest() { return fromRequest(getCurrentRequest());