spring-framework / org.springframework.http.client / InterceptingClientHttpRequestFactory / <init>

<init>

InterceptingClientHttpRequestFactory(requestFactory: ClientHttpRequestFactory, @Nullable interceptors: MutableList<ClientHttpRequestInterceptor>)

Create a new instance of the InterceptingClientHttpRequestFactory with the given parameters.

Parameters

requestFactory - the request factory to wrap

interceptors - the interceptors that are to be applied (can be null)