@Provider public class NuxeoPrincipalWriter extends EntityWriter<NuxeoPrincipal>
Modifier and Type | Field and Description |
---|---|
static String |
ENTITY_TYPE |
Constructor and Description |
---|
NuxeoPrincipalWriter() |
Modifier and Type | Method and Description |
---|---|
void |
writeEntityBody(org.codehaus.jackson.JsonGenerator jg,
NuxeoPrincipal principal)
Write the body of the entity.
|
getSize, isWriteable, writeEntity, writeTo
public static final String ENTITY_TYPE
public void writeEntityBody(org.codehaus.jackson.JsonGenerator jg, NuxeoPrincipal principal) throws org.codehaus.jackson.JsonGenerationException, IOException, ClientException
EntityWriter
createGenerator
- IOException
org.codehaus.jackson.JsonGenerationException
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.