@Provider @Produces(value="*/*") public class FleeceMessageBodyWriter<T> extends Object implements javax.ws.rs.ext.MessageBodyWriter<T>
Constructor and Description |
---|
FleeceMessageBodyWriter() |
FleeceMessageBodyWriter(Mapper mapper) |
Modifier and Type | Method and Description |
---|---|
long |
getSize(T t,
Class<?> rawType,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class<?> rawType,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
writeTo(T t,
Class<?> rawType,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
public FleeceMessageBodyWriter()
public FleeceMessageBodyWriter(Mapper mapper)
public long getSize(T t, Class<?> rawType, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize
in interface javax.ws.rs.ext.MessageBodyWriter<T>
public boolean isWriteable(Class<?> rawType, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable
in interface javax.ws.rs.ext.MessageBodyWriter<T>
public void writeTo(T t, Class<?> rawType, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException
writeTo
in interface javax.ws.rs.ext.MessageBodyWriter<T>
IOException
Copyright © 2014 The Apache Software Foundation. All rights reserved.