@Provider @Produces(value="text/plain") @InterfaceAudience.Private public class PlainTextMessageBodyProducer extends Object implements org.apache.hbase.thirdparty.javax.ws.rs.ext.MessageBodyWriter<Object>
Constructor and Description |
---|
PlainTextMessageBodyProducer() |
Modifier and Type | Method and Description |
---|---|
long |
getSize(Object object,
Class<?> type,
Type genericType,
Annotation[] annotations,
org.apache.hbase.thirdparty.javax.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class<?> arg0,
Type arg1,
Annotation[] arg2,
org.apache.hbase.thirdparty.javax.ws.rs.core.MediaType arg3) |
void |
writeTo(Object object,
Class<?> 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,Object> httpHeaders,
OutputStream outStream) |
public PlainTextMessageBodyProducer()
public boolean isWriteable(Class<?> arg0, Type arg1, Annotation[] arg2, org.apache.hbase.thirdparty.javax.ws.rs.core.MediaType arg3)
isWriteable
in interface org.apache.hbase.thirdparty.javax.ws.rs.ext.MessageBodyWriter<Object>
public long getSize(Object object, Class<?> type, Type genericType, Annotation[] annotations, org.apache.hbase.thirdparty.javax.ws.rs.core.MediaType mediaType)
getSize
in interface org.apache.hbase.thirdparty.javax.ws.rs.ext.MessageBodyWriter<Object>
public void writeTo(Object object, Class<?> 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,Object> httpHeaders, OutputStream outStream) throws IOException, org.apache.hbase.thirdparty.javax.ws.rs.WebApplicationException
writeTo
in interface org.apache.hbase.thirdparty.javax.ws.rs.ext.MessageBodyWriter<Object>
IOException
org.apache.hbase.thirdparty.javax.ws.rs.WebApplicationException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.