@SuppressWarnings("unchecked")
public <T> MessageBodyWriter<T> getMessageBodyWriter(Class<T> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) {
return (MessageBodyWriter<T>)new CsvSerializerProvider();
}
});
ByteArrayOutputStream os = new ByteArrayOutputStream();
MultivaluedMapImpl<String, Object> httpHeaders = new MultivaluedMapImpl<String, Object>();