Class JsonApiErrors
- java.lang.Object
-
- com.toedter.spring.hateoas.jsonapi.JsonApiErrors
-
public class JsonApiErrors extends java.lang.ObjectClass to build JSON:API compliant error messages.
-
-
Constructor Summary
Constructors Constructor Description JsonApiErrors()JsonApiErrors(JsonApiError jsonApiError)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonApiErrorscreate()java.util.List<JsonApiError>getErrors()java.lang.StringtoString()JsonApiErrorswithError(JsonApiError jsonApiError)
-
-
-
Constructor Detail
-
JsonApiErrors
public JsonApiErrors(JsonApiError jsonApiError)
-
JsonApiErrors
public JsonApiErrors()
-
-
Method Detail
-
withError
public JsonApiErrors withError(JsonApiError jsonApiError)
-
create
public static JsonApiErrors create()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getErrors
public java.util.List<JsonApiError> getErrors()
-
-