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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isReadable
(Class<?> cls, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType) readFrom
(Class<Object> cls, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String, String> multivaluedMap, InputStream inputStream) Methods inherited from class org.pentaho.platform.web.servlet.jaxrs.JacksonMessageBodyBase
getMapper, isSupported
-
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 interfacejavax.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 interfacejavax.ws.rs.ext.MessageBodyReader<Object>
- Throws:
IOException
javax.ws.rs.WebApplicationException
-