Class NuxeoOAuth2ServiceProviderReader
java.lang.Object
org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonReader<EntityType>
org.nuxeo.ecm.core.io.marshallers.json.EntityJsonReader<NuxeoOAuth2ServiceProvider>
org.nuxeo.ecm.platform.oauth2.providers.NuxeoOAuth2ServiceProviderReader
- All Implemented Interfaces:
Marshaller<NuxeoOAuth2ServiceProvider>
,Reader<NuxeoOAuth2ServiceProvider>
@Setup(mode=SINGLETON,
priority=2000)
public class NuxeoOAuth2ServiceProviderReader
extends EntityJsonReader<NuxeoOAuth2ServiceProvider>
- Since:
- 9.2
-
Field Summary
Fields inherited from class org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonReader
ctx, registry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected NuxeoOAuth2ServiceProvider
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
-
NuxeoOAuth2ServiceProviderReader
public NuxeoOAuth2ServiceProviderReader()
-
-
Method Details
-
readEntity
protected NuxeoOAuth2ServiceProvider 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<NuxeoOAuth2ServiceProvider>
- Parameters:
jn
- AJsonNode
pointing at the root of the json input.- Returns:
- The parsed entity.
- Throws:
IOException
-