Class LogEntryWriter

  • All Implemented Interfaces:
    javax.ws.rs.ext.MessageBodyWriter<LogEntry>

    @Deprecated
    @Provider
    public class LogEntryWriter
    extends EntityWriter<LogEntry>
    Deprecated.
    since 7.10 this marshaller was migrated to org.nuxeo.ecm.platform.audit.io.LogEntryJsonWriter. To use it in JAX-RS, register the CoreIODelegate to forward the JAX-RS marshalling to nuxeo-core-io.
    Since:
    5.7.3 - LogEntry Writer for Audit.
    • Constructor Detail

      • LogEntryWriter

        public LogEntryWriter()
        Deprecated.
    • Method Detail

      • getEntityType

        protected String getEntityType()
        Deprecated.
        Description copied from class: EntityWriter
        get the Entity type of the current entity type. It MUST follow camelCase notation
        Specified by:
        getEntityType in class EntityWriter<LogEntry>
        Returns:
        the string representing the entity-type.
      • writeExtendedInfos

        protected void writeExtendedInfos​(com.fasterxml.jackson.core.JsonGenerator jg,
                                          LogEntry logEntry)
                                   throws IOException
        Deprecated.
        Throws:
        IOException