Package jadex.extension.rs.publish
Class JadexXMLBodyReader
- java.lang.Object
- 
- jadex.extension.rs.publish.JadexXMLBodyReader
 
- 
- All Implemented Interfaces:
- javax.ws.rs.ext.MessageBodyReader<java.lang.Object>
 
 @Provider public class JadexXMLBodyReader extends java.lang.Object implements javax.ws.rs.ext.MessageBodyReader<java.lang.Object>Body reader for Jersey. Allows to use the Jadex XML Codec for reading XML for parameters.
- 
- 
Constructor SummaryConstructors Constructor Description JadexXMLBodyReader()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisReadable(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.ObjectreadFrom(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
 
- 
- 
- 
Method Detail- 
isReadablepublic 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.- Specified by:
- isReadablein interface- javax.ws.rs.ext.MessageBodyReader<java.lang.Object>
 
 - 
readFrompublic 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.WebApplicationExceptionRead the object from the- Specified by:
- readFromin interface- javax.ws.rs.ext.MessageBodyReader<java.lang.Object>
- Throws:
- java.io.IOException
- javax.ws.rs.WebApplicationException
 
 
- 
 
-