Package | Description |
---|---|
org.springframework.hateoas.mediatype.problem |
Value objects to build Problem representations.
|
Modifier and Type | Class and Description |
---|---|
static class |
Problem.ExtendedProblem<T> |
Modifier and Type | Method and Description |
---|---|
static Problem |
Problem.create()
Returns an empty
Problem instance. |
static Problem |
Problem.statusOnly(HttpStatus status)
|
Problem |
Problem.withDetail(String detail)
Create a new
Problem by copying its attributes and replacing the detail. |
Problem |
Problem.withInstance(URI instance)
Create a new
Problem by copying its attributes and replacing the instance. |
Problem |
Problem.withStatus(HttpStatus status)
Create a new
Problem by copying its attributes and replacing the status. |
Problem |
Problem.withTitle(String title)
Create a new
Problem by copying its attributes and replacing the title. |
Problem |
Problem.withType(URI type)
Create a new
Problem by copying its attributes and replacing the type. |
Copyright © 2011–2021 Pivotal, Inc.. All rights reserved.