Polishing

This commit is contained in:
Juergen Hoeller
2018-08-16 19:31:10 +02:00
parent 84300b796c
commit 6bcb454a0d
4 changed files with 8 additions and 11 deletions

View File

@@ -85,12 +85,10 @@ public interface ServerRequest {
/**
* Return a {@code UriBuilderComponents} from the URI associated with this
* {@code ServerRequest}.
*
* <p><strong>Note:</strong> as of 5.1 this method ignores
* {@code "Forwarded"} and {@code "X-Forwarded-*"} headers that specify the
* client-originated address. Consider using the {@code ForwardedHeaderFilter}
* to extract and use, or to discard such headers.
*
* @return a URI builder
*/
UriBuilder uriBuilder();