@Provider public class FacetWriter extends AbstractTypeDefWriter implements javax.ws.rs.ext.MessageBodyWriter<CompositeType>
Constructor and Description |
---|
FacetWriter() |
Modifier and Type | Method and Description |
---|---|
long |
getSize(CompositeType arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
javax.ws.rs.core.MediaType arg4) |
boolean |
isWriteable(Class<?> arg0,
Type type,
Annotation[] arg2,
javax.ws.rs.core.MediaType arg3) |
void |
writeTo(CompositeType facet,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
buildComplexFields, getGenerator, writeDocType, writeFacet, writeField, writeSchema, writeSchemaObject
public FacetWriter()
public void writeTo(CompositeType facet, Class<?> type, 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<CompositeType>
IOException
public long getSize(CompositeType arg0, Class<?> arg1, Type arg2, Annotation[] arg3, javax.ws.rs.core.MediaType arg4)
getSize
in interface javax.ws.rs.ext.MessageBodyWriter<CompositeType>
public boolean isWriteable(Class<?> arg0, Type type, Annotation[] arg2, javax.ws.rs.core.MediaType arg3)
isWriteable
in interface javax.ws.rs.ext.MessageBodyWriter<CompositeType>
Copyright © 2015 Nuxeo SA. All rights reserved.