Package org.molgenis.web.converter
Class BaseHttpMessageConverter<T>
- java.lang.Object
-
- org.springframework.http.converter.AbstractHttpMessageConverter<T>
-
- org.molgenis.web.converter.BaseHttpMessageConverter<T>
-
- All Implemented Interfaces:
org.springframework.http.converter.HttpMessageConverter<T>
- Direct Known Subclasses:
CsvHttpMessageConverter
public abstract class BaseHttpMessageConverter<T> extends org.springframework.http.converter.AbstractHttpMessageConverter<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected static CharsetDEFAULT_CHARSET
-
Constructor Summary
Constructors Constructor Description BaseHttpMessageConverter()BaseHttpMessageConverter(org.springframework.http.MediaType supportedMediaType)BaseHttpMessageConverter(org.springframework.http.MediaType... supportedMediaTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CharsetgetCharset(org.springframework.http.HttpHeaders headers)-
Methods inherited from class org.springframework.http.converter.AbstractHttpMessageConverter
addDefaultHeaders, canRead, canRead, canWrite, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, readInternal, setDefaultCharset, setSupportedMediaTypes, supports, write, writeInternal
-
-
-
-
Field Detail
-
DEFAULT_CHARSET
protected static final Charset DEFAULT_CHARSET
-
-
Constructor Detail
-
BaseHttpMessageConverter
public BaseHttpMessageConverter()
-
BaseHttpMessageConverter
public BaseHttpMessageConverter(org.springframework.http.MediaType... supportedMediaTypes)
-
BaseHttpMessageConverter
public BaseHttpMessageConverter(org.springframework.http.MediaType supportedMediaType)
-
-
Method Detail
-
getCharset
protected Charset getCharset(org.springframework.http.HttpHeaders headers)
-
-