Class NuxeoOAuth2ServiceProviderWriter
java.lang.Object
org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriter<NuxeoOAuth2ServiceProvider>
org.nuxeo.ecm.core.io.marshallers.json.ExtensibleEntityJsonWriter<NuxeoOAuth2ServiceProvider>
org.nuxeo.ecm.platform.oauth2.providers.NuxeoOAuth2ServiceProviderWriter
- All Implemented Interfaces:
Marshaller<NuxeoOAuth2ServiceProvider>,Writer<NuxeoOAuth2ServiceProvider>
@Setup(mode=SINGLETON,
priority=2000)
public class NuxeoOAuth2ServiceProviderWriter
extends ExtensibleEntityJsonWriter<NuxeoOAuth2ServiceProvider>
- Since:
- 9.2
-
Field Summary
FieldsFields inherited from class org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriter
ctx, registry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidwriteEntityBody(NuxeoOAuth2ServiceProvider provider, com.fasterxml.jackson.core.JsonGenerator jg) Implement this method to write the entity body.Methods inherited from class org.nuxeo.ecm.core.io.marshallers.json.ExtensibleEntityJsonWriter
extend, writeMethods inherited from class org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriter
accept, getGenerator, write, writeEntity, writeEntity, writeEntityField, writeSerializable, writeSerializableField, writeSerializableListField, writeSerializableMapField
-
Field Details
-
ENTITY_TYPE
- See Also:
-
-
Constructor Details
-
NuxeoOAuth2ServiceProviderWriter
public NuxeoOAuth2ServiceProviderWriter()
-
-
Method Details
-
writeEntityBody
protected void writeEntityBody(NuxeoOAuth2ServiceProvider provider, com.fasterxml.jackson.core.JsonGenerator jg) throws IOException Description copied from class:ExtensibleEntityJsonWriterImplement this method to write the entity body.- Specified by:
writeEntityBodyin classExtensibleEntityJsonWriter<NuxeoOAuth2ServiceProvider>- Parameters:
provider- The Java entity.jg- AJsonGeneratorready to write your entity as Json.- Throws:
IOException
-