Package org.apache.johnzon.jaxrs
Class JohnzonMessageBodyReader<T>
- java.lang.Object
- 
- org.apache.johnzon.jaxrs.IgnorableTypes
- 
- org.apache.johnzon.jaxrs.JohnzonMessageBodyReader<T>
 
 
- 
- All Implemented Interfaces:
- jakarta.ws.rs.ext.MessageBodyReader<T>
 
 @Consumes({"application/json","*/json","*/*+json","*/x-json","*/javascript","*/x-javascript"}) public class JohnzonMessageBodyReader<T> extends IgnorableTypes implements jakarta.ws.rs.ext.MessageBodyReader<T>
- 
- 
Constructor SummaryConstructors Constructor Description JohnzonMessageBodyReader()JohnzonMessageBodyReader(Mapper mapper, Collection<String> ignoredTypes)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisReadable(Class<?> rawType, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)TreadFrom(Class<T> rawType, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream)- 
Methods inherited from class org.apache.johnzon.jaxrs.IgnorableTypesisIgnored
 
- 
 
- 
- 
- 
Field Detail- 
mapperprivate final Mapper mapper 
 
- 
 - 
Constructor Detail- 
JohnzonMessageBodyReaderpublic JohnzonMessageBodyReader() 
 - 
JohnzonMessageBodyReaderpublic JohnzonMessageBodyReader(Mapper mapper, Collection<String> ignoredTypes) 
 
- 
 - 
Method Detail- 
isReadablepublic boolean isReadable(Class<?> rawType, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
- isReadablein interface- jakarta.ws.rs.ext.MessageBodyReader<T>
 
 - 
readFrompublic T readFrom(Class<T> rawType, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException - Specified by:
- readFromin interface- jakarta.ws.rs.ext.MessageBodyReader<T>
- Throws:
- IOException
 
 
- 
 
-