|
1 | 1 | /*
|
2 |
| - * Copyright 2002-2018 the original author or authors. |
| 2 | + * Copyright 2002-2020 the original author or authors. |
3 | 3 | *
|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
|
70 | 70 | * addition to the generalized {@code exchange} and {@code execute} methods that
|
71 | 71 | * support of less frequent cases.
|
72 | 72 | *
|
73 |
| - * <p><strong>NOTE:</strong> As of 5.0, the non-blocking, reactive |
74 |
| - * {@code org.springframework.web.reactive.client.WebClient} offers a |
75 |
| - * modern alternative to the {@code RestTemplate} with efficient support for |
76 |
| - * both sync and async, as well as streaming scenarios. The {@code RestTemplate} |
77 |
| - * will be deprecated in a future version and will not have major new features |
78 |
| - * added going forward. |
| 73 | + * <p><strong>NOTE:</strong> As of 5.0 this class is in maintenance mode, with |
| 74 | + * only minor requests for changes and bugs to be accepted going forward. Please, |
| 75 | + * consider using the {@code org.springframework.web.reactive.client.WebClient} |
| 76 | + * which has a more modern API and supports sync, async, and streaming scenarios. |
79 | 77 | *
|
80 | 78 | * @author Arjen Poutsma
|
81 | 79 | * @author Brian Clozel
|
|
89 | 87 | */
|
90 | 88 | public class RestTemplate extends InterceptingHttpAccessor implements RestOperations {
|
91 | 89 |
|
92 |
| - private static boolean romePresent = |
| 90 | + private static final boolean romePresent = |
93 | 91 | ClassUtils.isPresent("com.rometools.rome.feed.WireFeed",
|
94 | 92 | RestTemplate.class.getClassLoader());
|
95 | 93 |
|
|
0 commit comments