public interface MessageBodyReader<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
T |
readFrom(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
T readFrom(Class<T> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, WebApplicationException
IOExceptionWebApplicationExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.