Fix typo on javadoc
`ForwardedHeaderFilter` instead of `ForwardedHeaderFiller`
This commit is contained in:
parent
3abebb3799
commit
aa848d54ff
|
@ -169,7 +169,7 @@ public class ServletUriComponentsBuilder extends UriComponentsBuilder {
|
||||||
*
|
*
|
||||||
* <p>As of 4.3.15, this method replaces the contextPath with the value
|
* <p>As of 4.3.15, this method replaces the contextPath with the value
|
||||||
* of "X-Forwarded-Prefix" rather than prepending, thus aligning with
|
* of "X-Forwarded-Prefix" rather than prepending, thus aligning with
|
||||||
* {@code ForwardedHeaderFiller}.
|
* {@code ForwardedHeaderFilter}.
|
||||||
*/
|
*/
|
||||||
public static ServletUriComponentsBuilder fromCurrentContextPath() {
|
public static ServletUriComponentsBuilder fromCurrentContextPath() {
|
||||||
return fromContextPath(getCurrentRequest());
|
return fromContextPath(getCurrentRequest());
|
||||||
|
@ -184,7 +184,7 @@ public class ServletUriComponentsBuilder extends UriComponentsBuilder {
|
||||||
*
|
*
|
||||||
* <p>As of 4.3.15, this method replaces the contextPath with the value
|
* <p>As of 4.3.15, this method replaces the contextPath with the value
|
||||||
* of "X-Forwarded-Prefix" rather than prepending, thus aligning with
|
* of "X-Forwarded-Prefix" rather than prepending, thus aligning with
|
||||||
* {@code ForwardedHeaderFiller}.
|
* {@code ForwardedHeaderFilter}.
|
||||||
*/
|
*/
|
||||||
public static ServletUriComponentsBuilder fromCurrentServletMapping() {
|
public static ServletUriComponentsBuilder fromCurrentServletMapping() {
|
||||||
return fromServletMapping(getCurrentRequest());
|
return fromServletMapping(getCurrentRequest());
|
||||||
|
@ -199,7 +199,7 @@ public class ServletUriComponentsBuilder extends UriComponentsBuilder {
|
||||||
*
|
*
|
||||||
* <p>As of 4.3.15, this method replaces the contextPath with the value
|
* <p>As of 4.3.15, this method replaces the contextPath with the value
|
||||||
* of "X-Forwarded-Prefix" rather than prepending, thus aligning with
|
* of "X-Forwarded-Prefix" rather than prepending, thus aligning with
|
||||||
* {@code ForwardedHeaderFiller}.
|
* {@code ForwardedHeaderFilter}.
|
||||||
*/
|
*/
|
||||||
public static ServletUriComponentsBuilder fromCurrentRequestUri() {
|
public static ServletUriComponentsBuilder fromCurrentRequestUri() {
|
||||||
return fromRequestUri(getCurrentRequest());
|
return fromRequestUri(getCurrentRequest());
|
||||||
|
@ -214,7 +214,7 @@ public class ServletUriComponentsBuilder extends UriComponentsBuilder {
|
||||||
*
|
*
|
||||||
* <p>As of 4.3.15, this method replaces the contextPath with the value
|
* <p>As of 4.3.15, this method replaces the contextPath with the value
|
||||||
* of "X-Forwarded-Prefix" rather than prepending, thus aligning with
|
* of "X-Forwarded-Prefix" rather than prepending, thus aligning with
|
||||||
* {@code ForwardedHeaderFiller}.
|
* {@code ForwardedHeaderFilter}.
|
||||||
*/
|
*/
|
||||||
public static ServletUriComponentsBuilder fromCurrentRequest() {
|
public static ServletUriComponentsBuilder fromCurrentRequest() {
|
||||||
return fromRequest(getCurrentRequest());
|
return fromRequest(getCurrentRequest());
|
||||||
|
|
Loading…
Reference in New Issue