Details
Description
When upgrading from org.springframework:spring-web:4.2.4.RELEASE our httpinterceptors stopped working because we used immutable list as input to InterceptingHttpAccessor.setInterceptors. That method now use AnnotationAwareOrderComparator.sort(interceptors) and in extent Collections.sort which is not side effect free.
InterceptingHttpAccessor.setInterceptors should use a copied list to sort on.
Attachments
Issue Links
- relates to
-
SPR-13971 Update RestTemplate to respect @Order for ClientHttpRequestInterceptor
-
- Closed
-