@groovy.transform.CompileStatic class VndErrorJsonRenderer extends AbstractVndErrorRenderer
A JSON renderer that renders errors in in the Vnd.Error format (see https://github.com/blongden/vnd.error)
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
FOUR_SPACES |
|
static java.lang.String |
LINKS_ATTRIBUTE |
|
static MimeType |
MIME_TYPE |
|
private MimeType[] |
mimeTypes |
Fields inherited from class | Fields |
---|---|
class AbstractVndErrorRenderer |
HREF_ATTRIBUTE, LOGREF_ATTRIBUTE, MESSAGE_ATTRIBUTE, PATH_ATTRIBUTE, RESOURCE_ATTRIBUTE, absoluteLinks, encoding, linkGenerator, messageSource, prettyPrint |
Constructor and description |
---|
VndErrorJsonRenderer
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
render(org.springframework.validation.Errors object, RenderContext context) |
Methods inherited from class | Name |
---|---|
class AbstractVndErrorRenderer |
getComponentType, getObjectId, getTargetType, resolveLogRef |
Groovy Documentation