@Deprecated @Provider public class NuxeoPrincipalReader extends Object implements javax.ws.rs.ext.MessageBodyReader<NuxeoPrincipal>
NuxeoPrincipalJsonReader
which is registered by default and available to marshal
NuxeoPrincipal
from the Nuxeo Rest API thanks to the JAX-RS marshaller JsonCoreIODelegate
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log
Deprecated.
|
Constructor and Description |
---|
NuxeoPrincipalReader()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
Deprecated.
|
protected static List<Serializable> |
readArrayProperty(org.codehaus.jackson.JsonParser jp)
Deprecated.
|
NuxeoPrincipal |
readFrom(Class<NuxeoPrincipal> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
Deprecated.
|
protected static void |
readProperties(org.codehaus.jackson.JsonParser jp,
DocumentModel doc,
String schemaName)
Deprecated.
|
protected static final org.apache.commons.logging.Log log
public NuxeoPrincipalReader()
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<NuxeoPrincipal>
public NuxeoPrincipal readFrom(Class<NuxeoPrincipal> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, javax.ws.rs.WebApplicationException
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<NuxeoPrincipal>
IOException
javax.ws.rs.WebApplicationException
protected static void readProperties(org.codehaus.jackson.JsonParser jp, DocumentModel doc, String schemaName) throws PropertyException, org.codehaus.jackson.JsonParseException, IOException
PropertyException
org.codehaus.jackson.JsonParseException
IOException
protected static List<Serializable> readArrayProperty(org.codehaus.jackson.JsonParser jp) throws org.codehaus.jackson.JsonParseException, IOException
org.codehaus.jackson.JsonParseException
IOException
Copyright © 2016 Nuxeo SA. All rights reserved.