Improve docs on forwarded headers

Issue: SPR-15612
This commit is contained in:
Rossen Stoyanchev
2017-06-01 22:36:12 -04:00
parent 895fa2ea7b
commit 4d52590964
4 changed files with 126 additions and 12 deletions

View File

@@ -275,7 +275,7 @@ public class UriComponentsBuilder implements UriBuilder, Cloneable {
/**
* Create a new {@code UriComponents} object from the URI associated with
* the given HttpRequest while also overlaying with values from the headers
* "Forwarded" (<a href="http://tools.ietf.org/html/rfc7239">RFC 7239</a>,
* "Forwarded" (<a href="http://tools.ietf.org/html/rfc7239">RFC 7239</a>),
* or "X-Forwarded-Host", "X-Forwarded-Port", and "X-Forwarded-Proto" if
* "Forwarded" is not found.
* @param request the source request