Package io.micronaut.http.hateoas
Class VndError
- java.lang.Object
-
- io.micronaut.http.hateoas.AbstractResource<JsonError>
-
- io.micronaut.http.hateoas.JsonError
-
- io.micronaut.http.hateoas.VndError
-
-
Constructor Summary
Constructors Constructor Description VndError(java.lang.String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VndErrorembedded(java.lang.CharSequence ref, Resource resource)Add an embedded resource with the given reference.VndErrorembedded(java.lang.CharSequence ref, Resource... resource)Add an embedded resource with the given reference.VndErrorembedded(java.lang.CharSequence ref, java.util.List<Resource> resourceList)Add an embedded resource with the given reference.VndErrorlink(java.lang.CharSequence ref, Link link)Add a link with the given reference.VndErrorlink(java.lang.CharSequence ref, java.lang.String link)Add a link with the given reference.VndErrorlogref(java.lang.String logref)Sets the logref.VndErrorpath(java.lang.String path)Sets the path.-
Methods inherited from class io.micronaut.http.hateoas.JsonError
getLogref, getMessage, getPath, setMessage, toString
-
Methods inherited from class io.micronaut.http.hateoas.AbstractResource
getEmbedded, getLinks, setEmbedded, setLinks
-
-
-
-
Method Detail
-
path
public VndError path(@Nullable java.lang.String path)
Description copied from class:JsonErrorSets the path.
-
logref
public VndError logref(@Nullable java.lang.String logref)
Description copied from class:JsonErrorSets the logref.
-
link
public VndError link(@Nullable java.lang.CharSequence ref, @Nullable Link 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
public VndError link(@Nullable java.lang.CharSequence ref, @Nullable java.lang.String 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
public VndError embedded(java.lang.CharSequence ref, Resource resource)
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
public VndError embedded(java.lang.CharSequence ref, Resource... resource)
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
public VndError embedded(java.lang.CharSequence ref, java.util.List<Resource> resourceList)
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
-
-