spring-framework / org.springframework.web.context.request.async / AsyncWebRequest / setTimeout

setTimeout

abstract fun setTimeout(@Nullable timeout: Long): Unit

Set the time required for concurrent handling to complete. This property should not be set when concurrent handling is in progress, i.e. when #isAsyncStarted() is true.

Parameters

timeout - amount of time in milliseconds; null means no timeout, i.e. rely on the default timeout of the container.