Search in sources :

Example 1 with BufferedImageHttpMessageConverter

use of org.springframework.http.converter.BufferedImageHttpMessageConverter in project molgenis by molgenis.

the class MolgenisWebAppConfig method configureMessageConverters.

@Override
public void configureMessageConverters(List<HttpMessageConverter<?>> converters) {
    converters.add(gsonHttpMessageConverter);
    converters.add(new BufferedImageHttpMessageConverter());
    converters.add(new CsvHttpMessageConverter());
    converters.add(new ResourceHttpMessageConverter());
    converters.add(new StringHttpMessageConverter());
    converters.add(rdfConverter);
}
Also used : BufferedImageHttpMessageConverter(org.springframework.http.converter.BufferedImageHttpMessageConverter) ResourceHttpMessageConverter(org.springframework.http.converter.ResourceHttpMessageConverter) StringHttpMessageConverter(org.springframework.http.converter.StringHttpMessageConverter) CsvHttpMessageConverter(org.molgenis.core.ui.messageconverter.CsvHttpMessageConverter)

Aggregations

CsvHttpMessageConverter (org.molgenis.core.ui.messageconverter.CsvHttpMessageConverter)1 BufferedImageHttpMessageConverter (org.springframework.http.converter.BufferedImageHttpMessageConverter)1 ResourceHttpMessageConverter (org.springframework.http.converter.ResourceHttpMessageConverter)1 StringHttpMessageConverter (org.springframework.http.converter.StringHttpMessageConverter)1