org.glassfish.jersey.media.sse
Class EventProcessorReader
java.lang.Object
org.glassfish.jersey.media.sse.EventProcessorReader
- All Implemented Interfaces:
- MessageBodyReader<EventProcessor>
public class EventProcessorReader
- extends Object
- implements MessageBodyReader<EventProcessor>
MessageBodyWriter for EventProcessor.
- Author:
- Pavel Bucek (pavel.bucek at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventProcessorReader
public EventProcessorReader()
isReadable
public boolean isReadable(Class<?> aClass,
Type type,
Annotation[] annotations,
MediaType mediaType)
- Specified by:
isReadable in interface MessageBodyReader<EventProcessor>
readFrom
public EventProcessor readFrom(Class<EventProcessor> eventProcessorClass,
Type type,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> headers,
InputStream inputStream)
throws IOException,
WebApplicationException
- Specified by:
readFrom in interface MessageBodyReader<EventProcessor>
- Throws:
IOException
WebApplicationException
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.