Uses of Class
org.springframework.hateoas.mediatype.problem.Problem
Packages that use Problem
Package
Description
Value objects to build Problem representations.
-
Uses of Problem in org.springframework.hateoas.mediatype.problem
Subclasses of Problem in org.springframework.hateoas.mediatype.problemMethods in org.springframework.hateoas.mediatype.problem that return ProblemModifier and TypeMethodDescriptionstatic Problem
Problem.create()
Returns an emptyProblem
instance.static Problem
Problem.statusOnly
(HttpStatus status) Problem.withDetail
(String detail) Create a newProblem
by copying its attributes and replacing the detail.Problem.withInstance
(URI instance) Create a newProblem
by copying its attributes and replacing the instance.Problem.withStatus
(HttpStatus status) Create a newProblem
by copying its attributes and replacing the status.Create a newProblem
by copying its attributes and replacing the title.Create a newProblem
by copying its attributes and replacing the type.