Java org.springframework.http RequestEntity fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.http RequestEntity fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.http RequestEntity.

The text is from its open source code.

Field

HttpMethodmethod

Constructor

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 headers, @Nullable HttpMethod method, URI url)
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 headers, HttpMethod method, URI url)
Constructor with method, URL and headers but without body.
RequestEntity(@Nullable T body, @Nullable MultiValueMap headers, @Nullable HttpMethod method, URI url, @Nullable Type type)
Constructor with method, URL, headers, body and type.
RequestEntity(HttpMethod method, URI url)
Constructor with method and URL but without body nor headers.

Method

HeadersBuilderdelete(URI url)
Create an HTTP DELETE builder with the given url.
HeadersBuilderget(URI url)
Create an HTTP GET builder with the given url.
HttpMethodgetMethod()
Return the HTTP method of the request.
TypegetType()
Return the type of the request's body.
URIgetUrl()
Return the URL of the request.
BodyBuilderpatch(URI url)
Create an HTTP PATCH builder with the given url.
BodyBuilderpost(URI url)
Create an HTTP POST builder with the given url.