|
Spring Hateoas | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.hateoas.VndErrors
public class VndErrors
A representation model class to be rendered as specified for the media type application/vnd.error.
https://github.com/blongden/vnd.error| Nested Class Summary | |
|---|---|
static class |
VndErrors.VndError
A single VndErrors.VndError. |
| Constructor Summary | |
|---|---|
protected |
VndErrors()
Protected default constructor to allow JAXB marshalling. |
|
VndErrors(List<VndErrors.VndError> errors)
Creates a new VndErrors wrapper for the given VndErrors. |
|
VndErrors(String logref,
String message,
Link... links)
Creates a new VndErrors instance containing a single VndErrors.VndError with the given logref, message and
optional Links. |
|
VndErrors(VndErrors.VndError error,
VndErrors.VndError... errors)
Creates a new VndErrors wrapper for at least one VndErrors.VndError. |
| Method Summary | |
|---|---|
VndErrors |
add(VndErrors.VndError error)
Adds an additional VndErrors.VndError to the wrapper. |
boolean |
equals(Object obj)
|
int |
hashCode()
|
Iterator<VndErrors.VndError> |
iterator()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VndErrors(String logref,
String message,
Link... links)
VndErrors instance containing a single VndErrors.VndError with the given logref, message and
optional Links.
logref - must not be null or empty.message - must not be null or empty.links -
public VndErrors(VndErrors.VndError error,
VndErrors.VndError... errors)
VndErrors wrapper for at least one VndErrors.VndError.
errors - must not be null.errors - public VndErrors(List<VndErrors.VndError> errors)
VndErrors wrapper for the given VndErrors.
errors - must not be null or empty.protected VndErrors()
| Method Detail |
|---|
public VndErrors add(VndErrors.VndError error)
VndErrors.VndError to the wrapper.
errors - public Iterator<VndErrors.VndError> iterator()
iterator in interface Iterable<VndErrors.VndError>public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
Spring Hateoas | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||