Browse Source

Fix typo on javadoc

`ForwardedHeaderFilter` instead of `ForwardedHeaderFiller`
pull/1954/head
figueroaRicardo 6 years ago committed by Juergen Hoeller
parent
commit
aa848d54ff
  1. 8
      spring-webmvc/src/main/java/org/springframework/web/servlet/support/ServletUriComponentsBuilder.java

8
spring-webmvc/src/main/java/org/springframework/web/servlet/support/ServletUriComponentsBuilder.java

@ -169,7 +169,7 @@ public class ServletUriComponentsBuilder extends UriComponentsBuilder { @@ -169,7 +169,7 @@ public class ServletUriComponentsBuilder extends UriComponentsBuilder {
*
* <p>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 class ServletUriComponentsBuilder extends UriComponentsBuilder { @@ -184,7 +184,7 @@ public class ServletUriComponentsBuilder extends UriComponentsBuilder {
*
* <p>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 class ServletUriComponentsBuilder extends UriComponentsBuilder { @@ -199,7 +199,7 @@ public class ServletUriComponentsBuilder extends UriComponentsBuilder {
*
* <p>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 class ServletUriComponentsBuilder extends UriComponentsBuilder { @@ -214,7 +214,7 @@ public class ServletUriComponentsBuilder extends UriComponentsBuilder {
*
* <p>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());

Loading…
Cancel
Save