Class DateHttpMessageConverter

java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<Date>
com.wavemaker.runtime.commons.converters.WMCustomAbstractHttpMessageConverter<Date>
com.wavemaker.runtime.converters.DateHttpMessageConverter
All Implemented Interfaces:
com.wavemaker.runtime.commons.converters.WMCustomHttpMessageConverter<Date>, org.springframework.http.converter.HttpMessageConverter<Date>

public class DateHttpMessageConverter extends com.wavemaker.runtime.commons.converters.WMCustomAbstractHttpMessageConverter<Date>
Created by srujant on 16/5/17.
  • Field Summary

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

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Date
    readInternal(Class<? extends Date> clazz, org.springframework.http.HttpInputMessage inputMessage)
     
    protected boolean
    supports(Class<?> clazz)
     
    protected void
    writeInternal(Date date, org.springframework.http.HttpOutputMessage outputMessage)
     

    Methods inherited from class com.wavemaker.runtime.commons.converters.WMCustomAbstractHttpMessageConverter

    getDefaultContentType, supportsClazz

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

    addDefaultHeaders, canRead, canRead, canWrite, canWrite, getContentLength, getDefaultCharset, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, supportsRepeatableWrites, 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

    • DateHttpMessageConverter

      public DateHttpMessageConverter()
  • Method Details

    • supports

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

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

      protected void writeInternal(Date date, org.springframework.http.HttpOutputMessage outputMessage) throws IOException
      Specified by:
      writeInternal in class org.springframework.http.converter.AbstractHttpMessageConverter<Date>
      Throws:
      IOException