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 VndError
embedded(java.lang.CharSequence ref, Resource resource)
Add an embedded resource with the given reference.VndError
embedded(java.lang.CharSequence ref, Resource... resource)
Add an embedded resource with the given reference.VndError
embedded(java.lang.CharSequence ref, java.util.List<Resource> resourceList)
Add an embedded resource with the given reference.VndError
link(java.lang.CharSequence ref, Link link)
Add a link with the given reference.VndError
link(java.lang.CharSequence ref, java.lang.String link)
Add a link with the given reference.VndError
logref(java.lang.String logref)
Sets the logref.VndError
path(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:JsonError
Sets the path.
-
logref
public VndError logref(@Nullable java.lang.String logref)
Description copied from class:JsonError
Sets the logref.
-
link
public VndError link(@Nullable java.lang.CharSequence ref, @Nullable Link link)
Description copied from class:AbstractResource
Add a link with the given reference.- Overrides:
link
in 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:AbstractResource
Add a link with the given reference.- Overrides:
link
in 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:AbstractResource
Add an embedded resource with the given reference.- Overrides:
embedded
in 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:AbstractResource
Add an embedded resource with the given reference.- Overrides:
embedded
in 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:AbstractResource
Add an embedded resource with the given reference.- Overrides:
embedded
in classAbstractResource<JsonError>
- Parameters:
ref
- The referenceresourceList
- The resources- Returns:
- This JsonError
-
-