@Provider
 @Consumes(value={"application/x-protobuf","application/protobuf"})
 @InterfaceAudience.Private
public class ProtobufMessageBodyConsumer
extends Object
implements org.apache.hbase.thirdparty.javax.ws.rs.ext.MessageBodyReader<ProtobufMessageHandler>
| Modifier and Type | Field and Description | 
|---|---|
| private static org.slf4j.Logger | LOG | 
| Constructor and Description | 
|---|
| ProtobufMessageBodyConsumer() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | isReadable(Class<?> type,
          Type genericType,
          Annotation[] annotations,
          org.apache.hbase.thirdparty.javax.ws.rs.core.MediaType mediaType) | 
| ProtobufMessageHandler | readFrom(Class<ProtobufMessageHandler> type,
        Type genericType,
        Annotation[] annotations,
        org.apache.hbase.thirdparty.javax.ws.rs.core.MediaType mediaType,
        org.apache.hbase.thirdparty.javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
        InputStream inputStream) | 
private static final org.slf4j.Logger LOG
public ProtobufMessageBodyConsumer()
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, org.apache.hbase.thirdparty.javax.ws.rs.core.MediaType mediaType)
isReadable in interface org.apache.hbase.thirdparty.javax.ws.rs.ext.MessageBodyReader<ProtobufMessageHandler>public ProtobufMessageHandler readFrom(Class<ProtobufMessageHandler> type, Type genericType, Annotation[] annotations, org.apache.hbase.thirdparty.javax.ws.rs.core.MediaType mediaType, org.apache.hbase.thirdparty.javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream inputStream) throws IOException, org.apache.hbase.thirdparty.javax.ws.rs.WebApplicationException
readFrom in interface org.apache.hbase.thirdparty.javax.ws.rs.ext.MessageBodyReader<ProtobufMessageHandler>IOExceptionorg.apache.hbase.thirdparty.javax.ws.rs.WebApplicationExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.