Example usage for Java org.springframework.http RequestEntity fields, constructors, methods, implement or subclass
The text is from its open source code.
HttpMethod | method |
RequestEntity(@Nullable T body, HttpMethod method, URI url, Type type) Constructor with method, URL, body and type but without headers. | |
RequestEntity(@Nullable T body, @Nullable MultiValueMap Constructor with method, URL, headers and body. | |
RequestEntity(@Nullable T body, HttpMethod method, URI url) Constructor with method, URL and body but without headers. | |
RequestEntity(MultiValueMap Constructor with method, URL and headers but without body. | |
RequestEntity(@Nullable T body, @Nullable MultiValueMap Constructor with method, URL, headers, body and type. | |
RequestEntity(HttpMethod method, URI url) Constructor with method and URL but without body nor headers. |
HeadersBuilder> | delete(URI url) Create an HTTP DELETE builder with the given url. |
HeadersBuilder> | get(URI url) Create an HTTP GET builder with the given url. |
HttpMethod | getMethod() Return the HTTP method of the request. |
Type | getType() Return the type of the request's body. |
URI | getUrl() Return the URL of the request. |
BodyBuilder | patch(URI url) Create an HTTP PATCH builder with the given url. |
BodyBuilder | post(URI url) Create an HTTP POST builder with the given url. |