public class InboundEvent extends Object
public String getName()
null if it is not present.public <T> T getData(Class<T> messageType) throws IOException
messageType - type of stored data content. Will be used for MessageBodyReader lookup.IOException - when provided type can't be read.public <T> T getData(Class<T> messageType, MediaType mediaType) throws IOException
messageType - type of stored data content. Will be used for MessageBodyReader lookup.mediaType - MediaType of incoming data. Will be used for MessageBodyReader lookup.IOException - when provided type can't be read.public String getData() throws IOException
String.IOException - when provided type can't be read.Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.