Class FastJsonHttpMessageConverter4

    • Constructor Detail

      • FastJsonHttpMessageConverter4

        public FastJsonHttpMessageConverter4()
        Deprecated.
    • Method Detail

      • canRead

        public boolean canRead​(Type type,
                               Class<?> contextClass,
                               org.springframework.http.MediaType mediaType)
        Deprecated.
        Specified by:
        canRead in interface org.springframework.http.converter.GenericHttpMessageConverter<Object>
        Overrides:
        canRead in class FastJsonHttpMessageConverter
      • canWrite

        public boolean canWrite​(Type type,
                                Class<?> clazz,
                                org.springframework.http.MediaType mediaType)
        Deprecated.
        Specified by:
        canWrite in interface org.springframework.http.converter.GenericHttpMessageConverter<Object>
        Overrides:
        canWrite in class FastJsonHttpMessageConverter
      • read

        public Object read​(Type type,
                           Class<?> contextClass,
                           org.springframework.http.HttpInputMessage inputMessage)
                    throws IOException,
                           org.springframework.http.converter.HttpMessageNotReadableException
        Deprecated.
        Specified by:
        read in interface org.springframework.http.converter.GenericHttpMessageConverter<Object>
        Overrides:
        read in class FastJsonHttpMessageConverter
        Throws:
        IOException
        org.springframework.http.converter.HttpMessageNotReadableException
      • write

        public void write​(Object o,
                          Type type,
                          org.springframework.http.MediaType contentType,
                          org.springframework.http.HttpOutputMessage outputMessage)
                   throws IOException,
                          org.springframework.http.converter.HttpMessageNotWritableException
        Deprecated.
        Specified by:
        write in interface org.springframework.http.converter.GenericHttpMessageConverter<Object>
        Overrides:
        write in class FastJsonHttpMessageConverter
        Throws:
        IOException
        org.springframework.http.converter.HttpMessageNotWritableException