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