spring-framework / org.springframework.http.client / AsyncClientHttpRequestExecution

AsyncClientHttpRequestExecution

interface AsyncClientHttpRequestExecution

Represents the context of a client-side HTTP request execution.

Used to invoke the next interceptor in the interceptor chain, or - if the calling interceptor is last - execute the request itself.

Author
Jakub Narloch

Author
Rossen Stoyanchev

Since
4.3

See Also
AsyncClientHttpRequestInterceptor

Functions

executeAsync

abstract fun executeAsync(request: HttpRequest, body: ByteArray): ListenableFuture<ClientHttpResponse>

Resume the request execution by invoking the next interceptor in the chain or executing the request to the remote service.