spring-framework / org.springframework.http.client / SimpleClientHttpRequestFactory / setTaskExecutor

setTaskExecutor

open fun setTaskExecutor(taskExecutor: AsyncListenableTaskExecutor): Unit

Set the task executor for this request factory. Setting this property is required for creating asynchronous requests.

Parameters

taskExecutor - the task executor