@Provider public class NuxeoPrincipalReader extends Object implements MessageBodyReader<NuxeoPrincipal>
| Constructor and Description |
|---|
NuxeoPrincipalReader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
NuxeoPrincipal |
readFrom(Class<NuxeoPrincipal> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
isReadable in interface MessageBodyReader<NuxeoPrincipal>public NuxeoPrincipal readFrom(Class<NuxeoPrincipal> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, WebApplicationException
readFrom in interface MessageBodyReader<NuxeoPrincipal>IOExceptionWebApplicationExceptionCopyright © 2013 Nuxeo SA. All Rights Reserved.