Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.http.client
Interface ClientHttpRequestExecution

    public interface ClientHttpRequestExecution

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:
  `ClientHttpRequestInterceptor`

Method Summary
`ClientHttpResponse` | `execute(HttpRequest request, byte[] body)` Execute the request with the given request attributes and body, and return the response.

Method Detail

### execute

    ClientHttpResponse execute(HttpRequest request,
                               byte[] body)
                               throws java.io.IOException

  Execute the request with the given request attributes and body, and return the response.

  Parameters:
    `request` - the request, containing method, URI, and headers
    `body` - the body of the request to execute
  Returns:
    the response
  Throws:
    `java.io.IOException` - in case of I/O errors

Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD