public class MoleculeParsingMessageBodyReader extends Object implements MessageBodyReader<MoleculeContainer>
Constructor and Description |
---|
MoleculeParsingMessageBodyReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
MoleculeContainer |
readFrom(Class<MoleculeContainer> 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<MoleculeContainer>
public MoleculeContainer readFrom(Class<MoleculeContainer> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, WebApplicationException
readFrom
in interface MessageBodyReader<MoleculeContainer>
IOException
WebApplicationException