Class VegaJsonHttpMessageConverter

java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<T>
org.springframework.http.converter.AbstractGenericHttpMessageConverter<Object>
org.springframework.http.converter.json.AbstractJsonHttpMessageConverter
io.vertigo.ui.impl.springmvc.argumentresolvers.VegaJsonHttpMessageConverter
All Implemented Interfaces:
org.springframework.http.converter.GenericHttpMessageConverter<Object>, org.springframework.http.converter.HttpMessageConverter<Object>

public class VegaJsonHttpMessageConverter extends org.springframework.http.converter.json.AbstractJsonHttpMessageConverter
Implementation of HttpMessageConverter that can read and write JSON using the Vega JsonEngine
  • Field Summary

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

    DEFAULT_CHARSET

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

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    Construct a new converter
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Object
    readInternal(Type resolvedType, Reader reader)
     
    protected void
    writeInternal(Object o, Type type, Writer writer)
     

    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 class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.http.converter.HttpMessageConverter

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

    • VegaJsonHttpMessageConverter

      @Inject public VegaJsonHttpMessageConverter(JsonEngine jsonEngine)
      Construct a new converter
      Parameters:
      jsonEngine - vertigo-vega json component
  • Method Details

    • readInternal

      protected Object readInternal(Type resolvedType, Reader reader) throws Exception
      Specified by:
      readInternal in class org.springframework.http.converter.json.AbstractJsonHttpMessageConverter
      Throws:
      Exception
    • writeInternal

      protected void writeInternal(Object o, Type type, Writer writer) throws Exception
      Specified by:
      writeInternal in class org.springframework.http.converter.json.AbstractJsonHttpMessageConverter
      Throws:
      Exception