Package org.springframework.http.client
Interface ClientHttpRequestExecution
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
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.
- Since:
 - 3.1
 - Author:
 - Arjen Poutsma
 - See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptionexecute(HttpRequest request, byte[] body) Execute the request with the given request attributes and body, and return the response. 
- 
Method Details
- 
execute
Execute the request with the given request attributes and body, and return the response.- Parameters:
 request- the request, containing method, URI, and headersbody- the body of the request to execute- Returns:
 - the response
 - Throws:
 IOException- in case of I/O errors
 
 -