@InterfaceAudience.Private public class ProtobufMessageBodyConsumer extends Object
Constructor and Description |
---|
ProtobufMessageBodyConsumer() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
ProtobufMessageHandler |
readFrom(Class<ProtobufMessageHandler> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
<any> httpHeaders,
InputStream inputStream) |
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
public ProtobufMessageHandler readFrom(Class<ProtobufMessageHandler> type, Type genericType, Annotation[] annotations, MediaType mediaType, <any> httpHeaders, InputStream inputStream) throws IOException, WebApplicationException
IOException
WebApplicationException