Uses of Class
org.springframework.hateoas.mediatype.problem.Problem.ExtendedProblem
Package
Description
Value objects to build Problem representations.
-
Uses of Problem.ExtendedProblem in org.springframework.hateoas.mediatype.problem
Modifier and TypeMethodDescriptionstatic <T> Problem.ExtendedProblem<T>
Problem.create
(T payload) Returns anProblem.ExtendedProblem
with the given payload as additional properties.Problem.ExtendedProblem.withDetail
(String detail) Problem.ExtendedProblem.withInstance
(URI instance) <S> Problem.ExtendedProblem<S>
Problem.ExtendedProblem.withProperties
(S payload) Problem.withProperties
(Consumer<Map<String, Object>> consumer) Returns anProblem.ExtendedProblem
with aMap<String,
populated by the given consumer as payload.Object> Problem.withProperties
(Map<String, Object> properties) Returns anProblem.ExtendedProblem
with the givenMap
unwrapping as additional properties.<T> Problem.ExtendedProblem<T>
Problem.withProperties
(T payload) Creates a newProblem.ExtendedProblem
with the given payload as additional properties.Problem.ExtendedProblem.withStatus
(HttpStatus status)