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

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

Introduction

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

The text is from its open source code.

Subclass

org.springframework.http.HttpEntity has subclasses.
Click this link to see all its subclasses.

Field

HttpEntityEMPTY
The empty HttpEntity , with no body or headers.

Constructor

HttpEntity(@Nullable T body, @Nullable MultiValueMap headers)
Create a new HttpEntity with the given body and headers.
HttpEntity(T body)
Create a new HttpEntity with the given body and no headers.
HttpEntity(MultiValueMap headers)
Create a new HttpEntity with the given headers and no body.

Method

TgetBody()
Returns the body of this entity.
ClassgetClass()
Returns the runtime class of this Object .
HttpHeadersgetHeaders()
Returns the headers of this entity.
booleanhasBody()
Indicates whether this entity has a body.
StringtoString()