Class NuxeoOAuth2TokenReader
- java.lang.Object
-
- org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonReader<EntityType>
-
- org.nuxeo.ecm.core.io.marshallers.json.EntityJsonReader<NuxeoOAuth2Token>
-
- org.nuxeo.ecm.platform.oauth2.tokens.NuxeoOAuth2TokenReader
-
- All Implemented Interfaces:
Marshaller<NuxeoOAuth2Token>
,Reader<NuxeoOAuth2Token>
@Setup(mode=SINGLETON, priority=2000) public class NuxeoOAuth2TokenReader extends EntityJsonReader<NuxeoOAuth2Token>
- Since:
- 9.2
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonReader
ctx, registry
-
-
Constructor Summary
Constructors Constructor Description NuxeoOAuth2TokenReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NuxeoOAuth2Token
readEntity(com.fasterxml.jackson.databind.JsonNode jn)
Implement this method to read the entity.-
Methods inherited from class org.nuxeo.ecm.core.io.marshallers.json.EntityJsonReader
read
-
Methods inherited from class org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonReader
accept, getBooleanField, getLongField, getNode, getStringField, getStringListField, read, readEntity
-
-
-
-
Method Detail
-
readEntity
protected NuxeoOAuth2Token readEntity(com.fasterxml.jackson.databind.JsonNode jn) throws IOException
Description copied from class:EntityJsonReader
Implement this method to read the entity.- Specified by:
readEntity
in classEntityJsonReader<NuxeoOAuth2Token>
- Parameters:
jn
- AJsonNode
pointing at the root of the json input.- Returns:
- The parsed entity.
- Throws:
IOException
-
-