Package | Description |
---|---|
org.springframework.http |
Contains a basic abstraction over client/server-side HTTP.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
ResponseEntity.HeadersBuilder<B extends ResponseEntity.HeadersBuilder<B>>
Defines a builder that adds headers to the response entity.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
ResponseEntity.BodyBuilder
Defines a builder that adds a body to the response entity.
|
Modifier and Type | Method and Description |
---|---|
static ResponseEntity.HeadersBuilder<?> |
ResponseEntity.noContent()
Create a builder with a NO_CONTENT status.
|
static ResponseEntity.HeadersBuilder<?> |
ResponseEntity.notFound()
Create a builder with a NOT_FOUND status.
|