- 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>
- 
- 
Field SummaryFields Modifier and Type Field Description private org.apache.johnzon.mapper.Mappermapper
 - 
Constructor SummaryConstructors Constructor Description JohnzonMessageBodyReader()JohnzonMessageBodyReader(org.apache.johnzon.mapper.Mapper mapper, java.util.Collection<java.lang.String> ignoredTypes)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisReadable(java.lang.Class<?> rawType, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)TreadFrom(java.lang.Class<T> rawType, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> httpHeaders, java.io.InputStream entityStream)- 
Methods inherited from class org.apache.johnzon.jaxrs.IgnorableTypesisIgnored
 
- 
 
- 
- 
- 
Method Detail- 
isReadablepublic boolean isReadable(java.lang.Class<?> rawType, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)- Specified by:
- isReadablein interface- jakarta.ws.rs.ext.MessageBodyReader<T>
 
 - 
readFrompublic T readFrom(java.lang.Class<T> rawType, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> httpHeaders, java.io.InputStream entityStream) throws java.io.IOException - Specified by:
- readFromin interface- jakarta.ws.rs.ext.MessageBodyReader<T>
- Throws:
- java.io.IOException
 
 
- 
 
-