@Setup(mode=SINGLETON, priority=2000) public class NuxeoOAuth2TokenReader extends EntityJsonReader<NuxeoOAuth2Token>
ctx, registry
Constructor and Description |
---|
NuxeoOAuth2TokenReader() |
Modifier and Type | Method and Description |
---|---|
protected NuxeoOAuth2Token |
readEntity(org.codehaus.jackson.JsonNode jn)
Implement this method to read the entity.
|
read
accept, getBooleanField, getNode, getStringField, getStringListField, read, readEntity
public NuxeoOAuth2TokenReader()
protected NuxeoOAuth2Token readEntity(org.codehaus.jackson.JsonNode jn) throws IOException
EntityJsonReader
readEntity
in class EntityJsonReader<NuxeoOAuth2Token>
jn
- A JsonNode
pointing at the root of the json input.IOException
Copyright © 2018 Nuxeo. All rights reserved.