Overview
The nullability is currently defined as follows.
public interface ResponseExtractor<T> {
@Nullable T extractData(ClientHttpResponse response) throws IOException;
}
After discussions in #36312, we are considering changing that to the following in Spring Framework 7.1 in order to improve nullability inference.
public interface ResponseExtractor<T extends @Nullable Object> {
T extractData(ClientHttpResponse response) throws IOException;
}
Related Issues
Overview
The nullability is currently defined as follows.
After discussions in #36312, we are considering changing that to the following in Spring Framework 7.1 in order to improve nullability inference.
Related Issues
RetryTemplate#36312