Package com.dnlkk.controller.responses
Class ResponseEntity<T>
java.lang.Object
com.dnlkk.controller.responses.ResponseEntity<T>
-
Constructor Summary
ConstructorsConstructorDescriptionResponseEntity(Map<String, String> headers) ResponseEntity(Map<String, String> headers, HttpStatus httpStatus) ResponseEntity(T body) ResponseEntity(T body, HttpStatus httpStatus) ResponseEntity(T body, Map<String, String> headers) ResponseEntity(T body, Map<String, String> headers, HttpStatus httpStatus) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ResponseEntity<T>bad(T body) json()static <T> ResponseEntity<T>noContent(T body) static <T> ResponseEntity<T>notFound(T body) static <T> ResponseEntity<T>ok(T body)
-
Constructor Details
-
ResponseEntity
public ResponseEntity() -
ResponseEntity
-
ResponseEntity
-
ResponseEntity
-
ResponseEntity
-
ResponseEntity
-
ResponseEntity
-
-
Method Details
-
json
-
ok
-
noContent
-
bad
-
notFound
-