Uses of Interface
org.springframework.http.ResponseEntity.BodyBuilder
Packages that use ResponseEntity.BodyBuilder
Package
Description
Contains a basic abstraction over client/server-side HTTP.
-
Uses of ResponseEntity.BodyBuilder in org.springframework.http
Subinterfaces with type arguments of type ResponseEntity.BodyBuilder in org.springframework.httpModifier and TypeInterfaceDescriptionstatic interfaceDefines a builder that adds a body to the response entity.Methods in org.springframework.http that return ResponseEntity.BodyBuilderModifier and TypeMethodDescriptionstatic ResponseEntity.BodyBuilderResponseEntity.accepted()Create a builder with an ACCEPTED status.static ResponseEntity.BodyBuilderResponseEntity.badRequest()Create a builder with a BAD_REQUEST status.ResponseEntity.BodyBuilder.contentLength(long contentLength) Set the length of the body in bytes, as specified by theContent-Lengthheader.ResponseEntity.BodyBuilder.contentType(MediaType contentType) Set the media type of the body, as specified by theContent-Typeheader.static ResponseEntity.BodyBuilderCreate a new builder with a CREATED status and a location header set to the given URI.static ResponseEntity.BodyBuilderResponseEntity.internalServerError()Create a builder with an INTERNAL_SERVER_ERROR status.static ResponseEntity.BodyBuilderResponseEntity.ok()Create a builder with the status set to OK.static ResponseEntity.BodyBuilderResponseEntity.status(int status) Create a builder with the given status.static ResponseEntity.BodyBuilderResponseEntity.status(HttpStatusCode status) Create a builder with the given status.static ResponseEntity.BodyBuilderResponseEntity.unprocessableContent()Create a builder with an UNPROCESSABLE_CONTENT status.static ResponseEntity.BodyBuilderResponseEntity.unprocessableEntity()Deprecated.
ResponseEntity.unprocessableContent()