Class OAuth2ClientReader
java.lang.Object
org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonReader<EntityType>
org.nuxeo.ecm.core.io.marshallers.json.EntityJsonReader<OAuth2Client>
org.nuxeo.ecm.platform.oauth2.clients.OAuth2ClientReader
- All Implemented Interfaces:
Marshaller<OAuth2Client>
,Reader<OAuth2Client>
@Setup(mode=SINGLETON,
priority=2000)
public class OAuth2ClientReader
extends EntityJsonReader<OAuth2Client>
- Since:
- 11.1
-
Field Summary
Fields inherited from class org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonReader
ctx, registry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected OAuth2Client
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
-
Constructor Details
-
OAuth2ClientReader
public OAuth2ClientReader()
-
-
Method Details
-
readEntity
Description copied from class:EntityJsonReader
Implement this method to read the entity.- Specified by:
readEntity
in classEntityJsonReader<OAuth2Client>
- Parameters:
jn
- AJsonNode
pointing at the root of the json input.- Returns:
- The parsed entity.
-