@Provider public class DirectoryEntryReader extends Object implements javax.ws.rs.ext.MessageBodyReader<DirectoryEntry>
Constructor and Description |
---|
DirectoryEntryReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
DirectoryEntry |
readFrom(Class<DirectoryEntry> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
static DirectoryEntry |
readJson(org.codehaus.jackson.JsonParser jp,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders) |
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<DirectoryEntry>
public DirectoryEntry readFrom(Class<DirectoryEntry> 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<DirectoryEntry>
IOException
javax.ws.rs.WebApplicationException
public static DirectoryEntry readJson(org.codehaus.jackson.JsonParser jp, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders) throws IOException, ClientException
IOException
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.