Class JacksonMessageBodyReader

java.lang.Object
org.pentaho.platform.web.servlet.jaxrs.JacksonMessageBodyBase
org.pentaho.platform.web.servlet.jaxrs.JacksonMessageBodyReader
All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyReader<Object>

@Provider public class JacksonMessageBodyReader extends JacksonMessageBodyBase implements javax.ws.rs.ext.MessageBodyReader<Object>
  • Constructor Details

    • JacksonMessageBodyReader

      public JacksonMessageBodyReader()
  • Method Details

    • isReadable

      public boolean isReadable(Class<?> cls, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
      Specified by:
      isReadable in interface javax.ws.rs.ext.MessageBodyReader<Object>
    • readFrom

      public Object readFrom(Class<Object> cls, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> multivaluedMap, InputStream inputStream) throws IOException, javax.ws.rs.WebApplicationException
      Specified by:
      readFrom in interface javax.ws.rs.ext.MessageBodyReader<Object>
      Throws:
      IOException
      javax.ws.rs.WebApplicationException