mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 12:19:16 +00:00
Changed ClientHttpRequestInterceptor array to List
This commit is contained in:
+2
-1
@@ -16,6 +16,7 @@
|
||||
|
||||
package org.springframework.http.client.support;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.http.client.ClientHttpRequestFactory;
|
||||
@@ -33,7 +34,7 @@ import org.springframework.util.CollectionUtils;
|
||||
*/
|
||||
public abstract class InterceptingHttpAccessor extends HttpAccessor {
|
||||
|
||||
private List<ClientHttpRequestInterceptor> interceptors;
|
||||
private List<ClientHttpRequestInterceptor> interceptors = new ArrayList<ClientHttpRequestInterceptor>();
|
||||
|
||||
/**
|
||||
* Sets the request interceptors that this accessor should use.
|
||||
|
||||
Reference in New Issue
Block a user