Interface RestClient


public interface RestClient
Client to perform HTTP requests, exposing a fluent, synchronous API over underlying HTTP client libraries such the JDK HttpClient, Apache HttpComponents, and others.

Use static factory methods create(), create(String), or builder() to prepare an instance. To use the same configuration as a RestTemplate, use create(RestTemplate) or builder(RestTemplate).

For examples with a response body see:

For examples with a request body see:

Since:
6.1
Author:
Arjen Poutsma