Skip to content

Commit 9409543

Browse files
committed
Update deprecation notices
See gh-33123
1 parent 8945390 commit 9409543

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

spring-web/src/main/java/org/springframework/http/client/OkHttp3ClientHttpRequest.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -39,6 +39,8 @@
3939
* @author Arjen Poutsma
4040
* @author Roy Clarkson
4141
* @since 4.3
42+
* @deprecated since 6.1, in favor of other HTTP client libraries;
43+
* scheduled for removal in 7.0
4244
*/
4345
@Deprecated(since = "6.1", forRemoval = true)
4446
class OkHttp3ClientHttpRequest extends AbstractStreamingClientHttpRequest {

spring-web/src/main/java/org/springframework/http/client/OkHttp3ClientHttpRequestFactory.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -36,8 +36,8 @@
3636
* @author Arjen Poutsma
3737
* @author Roy Clarkson
3838
* @since 4.3
39-
* @deprecated since 6.1, in favor of other {@link ClientHttpRequestFactory}
40-
* implementations; scheduled for removal in 6.2
39+
* @deprecated since 6.1, in favor of other {@link ClientHttpRequestFactory} implementations;
40+
* scheduled for removal in 7.0
4141
*/
4242
@Deprecated(since = "6.1", forRemoval = true)
4343
public class OkHttp3ClientHttpRequestFactory implements ClientHttpRequestFactory, DisposableBean {

spring-web/src/main/java/org/springframework/http/client/OkHttp3ClientHttpResponse.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -34,6 +34,8 @@
3434
* @author Arjen Poutsma
3535
* @author Roy Clarkson
3636
* @since 4.3
37+
* @deprecated since 6.1, in favor of other HTTP client libraries;
38+
* scheduled for removal in 7.0
3739
*/
3840
@Deprecated(since = "6.1", forRemoval = true)
3941
class OkHttp3ClientHttpResponse implements ClientHttpResponse {

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public static UriComponentsBuilder fromUriString(String uri) throws InvalidUrlEx
265265
* @param httpUrl the source URI
266266
* @return the URI components of the URI
267267
* @deprecated as of 6.2, in favor of {@link #fromUriString(String)};
268-
* scheduled for removal in 8.0.
268+
* scheduled for removal in 7.0.
269269
*/
270270
@Deprecated(since = "6.2")
271271
public static UriComponentsBuilder fromHttpUrl(String httpUrl) throws InvalidUrlException {
@@ -291,7 +291,7 @@ private static void checkSchemeAndHost(String uri, @Nullable String scheme, @Nul
291291
* @return the URI components of the URI
292292
* @since 4.1.5
293293
* @deprecated in favor of {@link ForwardedHeaderUtils#adaptFromForwardedHeaders};
294-
* to be removed in 6.2
294+
* to be removed in 7.0
295295
*/
296296
@Deprecated(since = "6.1", forRemoval = true)
297297
public static UriComponentsBuilder fromHttpRequest(HttpRequest request) {

0 commit comments

Comments
 (0)