diff --git a/org.springframework.web/src/main/java/org/springframework/web/client/RestTemplate.java b/org.springframework.web/src/main/java/org/springframework/web/client/RestTemplate.java index 19fa94c4164..ceb2444e6fc 100644 --- a/org.springframework.web/src/main/java/org/springframework/web/client/RestTemplate.java +++ b/org.springframework.web/src/main/java/org/springframework/web/client/RestTemplate.java @@ -53,11 +53,17 @@ import org.springframework.web.util.UriUtils; * enforces RESTful principles. It handles HTTP connections, leaving application code to provide URLs (with possible * template variables) and extract results. * - *
The main entry points of this template are the methods named after the six main HTTP methods:
| HTTP - * method | RestTemplate methods |
|---|---|
| DELETE | {@link #delete} |
| GET | {@link #getForObject} |
| HEAD | {@link #headForHeaders} |
| OPTIONS | {@link #optionsForAllow} |
| POST | {@link #postForLocation} |
| {@link #postForObject} | |
| PUT | {@link #put} |
| HTTP method | RestTemplate methods |
|---|---|
| DELETE | {@link #delete} |
| GET | {@link #getForObject} |
| {@link #getForEntity} | |
| HEAD | {@link #headForHeaders} |
| OPTIONS | {@link #optionsForAllow} |
| POST | {@link #postForLocation} |
| {@link #postForObject} | |
| PUT | {@link #put} |
| any | {@link #exchange} |
| {@link #execute} |