Class MolgenisGsonHttpMessageConverter

  • All Implemented Interfaces:
    org.springframework.http.converter.GenericHttpMessageConverter<Object>, org.springframework.http.converter.HttpMessageConverter<Object>

    public class MolgenisGsonHttpMessageConverter
    extends org.springframework.http.converter.json.GsonHttpMessageConverter
    Subclassed customization of GsonHttpMessageConverter that works around https://jira.spring.io/browse/SPR-16461
    • Field Summary

      • Fields inherited from class org.springframework.http.converter.json.AbstractJsonHttpMessageConverter

        DEFAULT_CHARSET
      • Fields inherited from class org.springframework.http.converter.AbstractHttpMessageConverter

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void writeInternal​(Object o, Type type, Writer writer)  
      • Methods inherited from class org.springframework.http.converter.json.GsonHttpMessageConverter

        getGson, readInternal, setGson
      • Methods inherited from class org.springframework.http.converter.json.AbstractJsonHttpMessageConverter

        read, readInternal, setJsonPrefix, setPrefixJson, writeInternal
      • Methods inherited from class org.springframework.http.converter.AbstractGenericHttpMessageConverter

        canRead, canWrite, supports, write, writeInternal
      • Methods inherited from class org.springframework.http.converter.AbstractHttpMessageConverter

        addDefaultHeaders, canRead, canRead, canWrite, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, write
      • Methods inherited from interface org.springframework.http.converter.HttpMessageConverter

        canRead, canWrite, getSupportedMediaTypes, read, write
    • Constructor Detail

      • MolgenisGsonHttpMessageConverter

        public MolgenisGsonHttpMessageConverter​(com.google.gson.Gson gson)