@ConstrainedTo(value=CLIENT) public class InboundEventReader extends Object implements MessageBodyReader<InboundEvent>
| Constructor and Description |
|---|
InboundEventReader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
InboundEvent |
readFrom(Class<InboundEvent> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> headers,
InputStream entityStream) |
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
isReadable in interface MessageBodyReader<InboundEvent>public InboundEvent readFrom(Class<InboundEvent> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> headers, InputStream entityStream) throws IOException, WebApplicationException
readFrom in interface MessageBodyReader<InboundEvent>IOExceptionWebApplicationExceptionCopyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.