public interface MessageBodyWriter<T>
| Modifier and Type | Method and Description |
|---|---|
default long |
getSize(T t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
void |
writeTo(T t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
default long getSize(T t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
void writeTo(T t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException, WebApplicationException
IOExceptionWebApplicationExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.