NuxeoPrincipalJsonWriter which is registered by default and available to marshal
NuxeoPrincipal from the Nuxeo Rest API thanks to the JAX-RS marshaller JsonCoreIODelegate@Deprecated @Provider public class NuxeoPrincipalWriter extends EntityWriter<NuxeoPrincipal>
| Modifier and Type | Field and Description |
|---|---|
static String |
ENTITY_TYPE
Deprecated.
|
| Constructor and Description |
|---|
NuxeoPrincipalWriter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getEntityType()
Deprecated.
get the Entity type of the current entity type.
|
void |
writeEntityBody(org.codehaus.jackson.JsonGenerator jg,
NuxeoPrincipal principal)
Deprecated.
Write the body of the entity.
|
getSize, isWriteable, writeEntity, writeTopublic static final String ENTITY_TYPE
public NuxeoPrincipalWriter()
public void writeEntityBody(org.codehaus.jackson.JsonGenerator jg, NuxeoPrincipal principal) throws org.codehaus.jackson.JsonGenerationException, IOException
EntityWriterwriteEntityBody in class EntityWriter<NuxeoPrincipal>createGenerator - IOExceptionorg.codehaus.jackson.JsonGenerationExceptionprotected String getEntityType()
EntityWritergetEntityType in class EntityWriter<NuxeoPrincipal>Copyright © 2016 Nuxeo SA. All rights reserved.