@InterfaceAudience.Private public class ProtobufMessageBodyProducer extends Object
Constructor and Description |
---|
ProtobufMessageBodyProducer() |
Modifier and Type | Method and Description |
---|---|
long |
getSize(ProtobufMessageHandler m,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
void |
writeTo(ProtobufMessageHandler m,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
<any> httpHeaders,
OutputStream entityStream) |
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
public long getSize(ProtobufMessageHandler m, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
public void writeTo(ProtobufMessageHandler m, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, <any> httpHeaders, OutputStream entityStream) throws IOException, WebApplicationException
IOException
WebApplicationException