Uses of Interface
org.springframework.http.ResponseEntity.HeadersBuilder
Package
Description
Contains a basic abstraction over client/server-side HTTP.
-
Uses of ResponseEntity.HeadersBuilder in org.springframework.http
Modifier and TypeInterfaceDescriptionstatic interface
ResponseEntity.HeadersBuilder<B extends ResponseEntity.HeadersBuilder<B>>
Defines a builder that adds headers to the response entity.Modifier and TypeInterfaceDescriptionstatic interface
Defines a builder that adds a body to the response entity.Modifier and TypeMethodDescriptionstatic 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.static ResponseEntity.HeadersBuilder<?>
ResponseEntity.of
(ProblemDetail body) Create a builder for aResponseEntity
with the givenProblemDetail
as the body, and itsstatus
as the status.