Class SimplifiedServerInfoJsonWriter
java.lang.Object
org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonWriter<SimplifiedServerInfo>
org.nuxeo.ecm.core.io.marshallers.json.ExtensibleEntityJsonWriter<SimplifiedServerInfo>
org.nuxeo.ecm.restapi.io.management.SimplifiedServerInfoJsonWriter
- All Implemented Interfaces:
Marshaller<SimplifiedServerInfo>,Writer<SimplifiedServerInfo>
@Setup(mode=SINGLETON,
priority=2000)
public class SimplifiedServerInfoJsonWriter
extends ExtensibleEntityJsonWriter<SimplifiedServerInfo>
- Since:
- 11.3
-
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(SimplifiedServerInfo entity, 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
-
SimplifiedServerInfoJsonWriter
public SimplifiedServerInfoJsonWriter()
-
-
Method Details
-
writeEntityBody
protected void writeEntityBody(SimplifiedServerInfo entity, com.fasterxml.jackson.core.JsonGenerator jg) throws IOException Description copied from class:ExtensibleEntityJsonWriterImplement this method to write the entity body.- Specified by:
writeEntityBodyin classExtensibleEntityJsonWriter<SimplifiedServerInfo>- Parameters:
entity- The Java entity.jg- AJsonGeneratorready to write your entity as Json.- Throws:
IOException
-