Browse Source

Fix reference in deprecation message of parseForwardedFor

pull/31594/head
Stéphane Nicoll 1 year ago
parent
commit
7f615fd8af
  1. 2
      spring-web/src/main/java/org/springframework/web/util/UriComponentsBuilder.java

2
spring-web/src/main/java/org/springframework/web/util/UriComponentsBuilder.java

@ -333,7 +333,7 @@ public class UriComponentsBuilder implements UriBuilder, Cloneable {
* @return an {@code InetSocketAddress} with the extracted host and port, or * @return an {@code InetSocketAddress} with the extracted host and port, or
* {@code null} if the headers are not present. * {@code null} if the headers are not present.
* @since 5.3 * @since 5.3
* @deprecated in favor of {@link ForwardedHeaderUtils#adaptFromForwardedHeaders}; * @deprecated in favor of {@link ForwardedHeaderUtils#parseForwardedFor};
* to be removed in 6.2 * to be removed in 6.2
*/ */
@Deprecated(since = "6.1", forRemoval = true) @Deprecated(since = "6.1", forRemoval = true)

Loading…
Cancel
Save