Class VndError
java.lang.Object
io.micronaut.http.hateoas.AbstractResource<JsonError>
io.micronaut.http.hateoas.JsonError
io.micronaut.http.hateoas.VndError
- All Implemented Interfaces:
Resource
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionembedded(CharSequence ref, Resource resource) Add an embedded resource with the given reference.embedded(CharSequence ref, Resource... resource) Add an embedded resource with the given reference.embedded(CharSequence ref, List<Resource> resourceList) Add an embedded resource with the given reference.link(@Nullable CharSequence ref, @Nullable Link link) Add a link with the given reference.link(@Nullable CharSequence ref, @Nullable String link) Add a link with the given reference.Sets the logref.Sets the path.Methods inherited from class JsonError
getLogref, getMessage, getPath, setMessage, toStringMethods inherited from class AbstractResource
getEmbedded, getLinks, setEmbedded, setLinks
-
Constructor Details
-
VndError
- Parameters:
message- The message
-
-
Method Details
-
path
-
logref
-
link
Description copied from class:AbstractResourceAdd a link with the given reference.- Overrides:
linkin classAbstractResource<JsonError>- Parameters:
ref- The referencelink- The link- Returns:
- This JsonError
-
link
Description copied from class:AbstractResourceAdd a link with the given reference.- Overrides:
linkin classAbstractResource<JsonError>- Parameters:
ref- The referencelink- The link- Returns:
- This JsonError
-
embedded
Description copied from class:AbstractResourceAdd an embedded resource with the given reference.- Overrides:
embeddedin classAbstractResource<JsonError>- Parameters:
ref- The referenceresource- The resource- Returns:
- This JsonError
-
embedded
Description copied from class:AbstractResourceAdd an embedded resource with the given reference.- Overrides:
embeddedin classAbstractResource<JsonError>- Parameters:
ref- The referenceresource- The resource- Returns:
- This JsonError
-
embedded
Description copied from class:AbstractResourceAdd an embedded resource with the given reference.- Overrides:
embeddedin classAbstractResource<JsonError>- Parameters:
ref- The referenceresourceList- The resources- Returns:
- This JsonError
-