Constructor and Description |
---|
JadexXMLBodyReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> type,
Type generictype,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediatype)
Test if the object is readable.
|
Object |
readFrom(Class<Object> type,
Type generictype,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediatype,
javax.ws.rs.core.MultivaluedMap<String,String> httpheaders,
InputStream entitystream)
Read the object from the
|
public boolean isReadable(Class<?> type, Type generictype, Annotation[] annotations, javax.ws.rs.core.MediaType mediatype)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<Object>
public Object readFrom(Class<Object> type, Type generictype, Annotation[] annotations, javax.ws.rs.core.MediaType mediatype, javax.ws.rs.core.MultivaluedMap<String,String> httpheaders, InputStream entitystream) throws IOException, javax.ws.rs.WebApplicationException
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<Object>
IOException
javax.ws.rs.WebApplicationException
Copyright © 2012. All Rights Reserved.