@Provider
public class JadexXMLBodyReader
extends java.lang.Object
implements javax.ws.rs.ext.MessageBodyReader<java.lang.Object>
Constructor and Description |
---|
JadexXMLBodyReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(java.lang.Class<?> type,
java.lang.reflect.Type generictype,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediatype)
Test if the object is readable.
|
java.lang.Object |
readFrom(java.lang.Class<java.lang.Object> type,
java.lang.reflect.Type generictype,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediatype,
javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> httpheaders,
java.io.InputStream entitystream)
Read the object from the
|
public boolean isReadable(java.lang.Class<?> type, java.lang.reflect.Type generictype, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediatype)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<java.lang.Object>
public java.lang.Object readFrom(java.lang.Class<java.lang.Object> type, java.lang.reflect.Type generictype, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediatype, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> httpheaders, java.io.InputStream entitystream) throws java.io.IOException, javax.ws.rs.WebApplicationException
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<java.lang.Object>
java.io.IOException
javax.ws.rs.WebApplicationException