Class WMCompositeHttpMessageConverter<T>

java.lang.Object
com.wavemaker.runtime.converters.WMCompositeHttpMessageConverter<T>
All Implemented Interfaces:
org.springframework.http.converter.HttpMessageConverter<T>

public class WMCompositeHttpMessageConverter<T> extends Object implements org.springframework.http.converter.HttpMessageConverter<T>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canRead(Class<?> clazz, org.springframework.http.MediaType mediaType)
     
    boolean
    canWrite(Class<?> clazz, org.springframework.http.MediaType mediaType)
     
    List<org.springframework.http.MediaType>
     
    read(Class<? extends T> clazz, org.springframework.http.HttpInputMessage inputMessage)
     
    void
    write(T t, org.springframework.http.MediaType contentType, org.springframework.http.HttpOutputMessage outputMessage)
     

    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

    getSupportedMediaTypes
  • Constructor Details

    • WMCompositeHttpMessageConverter

      public WMCompositeHttpMessageConverter()
  • Method Details

    • canRead

      public boolean canRead(Class<?> clazz, org.springframework.http.MediaType mediaType)
      Specified by:
      canRead in interface org.springframework.http.converter.HttpMessageConverter<T>
    • canWrite

      public boolean canWrite(Class<?> clazz, org.springframework.http.MediaType mediaType)
      Specified by:
      canWrite in interface org.springframework.http.converter.HttpMessageConverter<T>
    • getSupportedMediaTypes

      public List<org.springframework.http.MediaType> getSupportedMediaTypes()
      Specified by:
      getSupportedMediaTypes in interface org.springframework.http.converter.HttpMessageConverter<T>
    • read

      public T read(Class<? extends T> clazz, org.springframework.http.HttpInputMessage inputMessage) throws IOException
      Specified by:
      read in interface org.springframework.http.converter.HttpMessageConverter<T>
      Throws:
      IOException
    • write

      public void write(T t, org.springframework.http.MediaType contentType, org.springframework.http.HttpOutputMessage outputMessage) throws IOException
      Specified by:
      write in interface org.springframework.http.converter.HttpMessageConverter<T>
      Throws:
      IOException