Class JSONSpring

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

    
    public class JSONSpring
    extends AbstractJsonHttpMessageConverter
                        

    Spring message converter to convert messages to and from JSON using the kjson library. This class is expected to be instantiated by the JSONSpringAutoConfiguration class, but it may be configured separately if required.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      JSONSpring(JSONConfig jsonConfig, LoggerFactory<?> jsonLogFactory, String jsonLogName, Level jsonLogLevel, Collection<String> jsonLogExclude)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class org.springframework.http.converter.AbstractHttpMessageConverter

        canRead, canWrite, getDefaultCharset, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, write
      • Methods inherited from class org.springframework.http.converter.AbstractGenericHttpMessageConverter

        canRead, canWrite, write
      • Methods inherited from class org.springframework.http.converter.HttpMessageConverter

        getSupportedMediaTypes
      • Methods inherited from class org.springframework.http.converter.json.AbstractJsonHttpMessageConverter

        read, setJsonPrefix, setPrefixJson
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JSONSpring

        JSONSpring(JSONConfig jsonConfig, LoggerFactory<?> jsonLogFactory, String jsonLogName, Level jsonLogLevel, Collection<String> jsonLogExclude)
    • Method Detail