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