Class RegisteredServiceYamlHttpMessageConverter<T>

  • All Implemented Interfaces:
    org.springframework.http.converter.HttpMessageConverter<T>

    public class RegisteredServiceYamlHttpMessageConverter<T>
    extends org.springframework.http.converter.AbstractHttpMessageConverter<T>
    Since:
    6.0.0
    • Field Summary

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

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected T readInternal​(java.lang.Class<? extends T> clazz, org.springframework.http.HttpInputMessage inputMessage)  
      protected boolean supports​(java.lang.Class<?> clazz)  
      protected void writeInternal​(T t, org.springframework.http.HttpOutputMessage outputMessage)  
      • 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
    • Constructor Detail

      • RegisteredServiceYamlHttpMessageConverter

        public RegisteredServiceYamlHttpMessageConverter()
    • Method Detail

      • supports

        protected boolean supports​(java.lang.Class<?> clazz)
        Specified by:
        supports in class org.springframework.http.converter.AbstractHttpMessageConverter<T>
      • readInternal

        protected T readInternal​(java.lang.Class<? extends T> clazz,
                                 org.springframework.http.HttpInputMessage inputMessage)
                          throws org.springframework.http.converter.HttpMessageNotReadableException
        Specified by:
        readInternal in class org.springframework.http.converter.AbstractHttpMessageConverter<T>
        Throws:
        org.springframework.http.converter.HttpMessageNotReadableException
      • writeInternal

        protected void writeInternal​(T t,
                                     org.springframework.http.HttpOutputMessage outputMessage)
                              throws java.io.IOException,
                                     org.springframework.http.converter.HttpMessageNotWritableException
        Specified by:
        writeInternal in class org.springframework.http.converter.AbstractHttpMessageConverter<T>
        Throws:
        java.io.IOException
        org.springframework.http.converter.HttpMessageNotWritableException