public class OutboundEventWriter extends Object implements MessageBodyWriter<OutboundEvent>
OutboundEvent.| Constructor and Description |
|---|
OutboundEventWriter() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(OutboundEvent incomingEvent,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
void |
writeTo(OutboundEvent outboundEvent,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
isWriteable in interface MessageBodyWriter<OutboundEvent>public long getSize(OutboundEvent incomingEvent, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
getSize in interface MessageBodyWriter<OutboundEvent>public void writeTo(OutboundEvent outboundEvent, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException, WebApplicationException
writeTo in interface MessageBodyWriter<OutboundEvent>IOExceptionWebApplicationExceptionCopyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.