@InterfaceAudience.Private public class PlainTextMessageBodyProducer extends Object
Constructor and Description |
---|
PlainTextMessageBodyProducer() |
Modifier and Type | Method and Description |
---|---|
long |
getSize(Object object,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
isWriteable(Class<?> arg0,
Type arg1,
Annotation[] arg2,
MediaType arg3) |
void |
writeTo(Object object,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
<any> httpHeaders,
OutputStream outStream) |
public boolean isWriteable(Class<?> arg0, Type arg1, Annotation[] arg2, MediaType arg3)
public long getSize(Object object, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
public void writeTo(Object object, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, <any> httpHeaders, OutputStream outStream) throws IOException, WebApplicationException
IOException
WebApplicationException