public interface UnMarshaller
Object read(InputStream inputStream, Map<String,Object> metadata, Map<String,Object> headers) throws IOException
inputStream
- stream to read data from to do conversion.metadata
- can be any transport specific metadata (such as headers from http transport).
This can be null, depending on if transport supports metadata.IOException
- all specific i/o exceptions need to be thrown as this.Copyright © 2013 JBoss by Red Hat. All Rights Reserved.