Class ParamConverters.DateProvider

  • All Implemented Interfaces:
    javax.ws.rs.ext.ParamConverterProvider
    Enclosing class:
    ParamConverters

    @Singleton
    public static class ParamConverters.DateProvider
    extends java.lang.Object
    implements javax.ws.rs.ext.ParamConverterProvider
    Provider of param converter that convert the supplied string into a Java Date instance using conversion method from the http date formatter utility class.
    • Constructor Summary

      Constructors 
      Constructor Description
      DateProvider()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> javax.ws.rs.ext.ParamConverter<T> getConverter​(java.lang.Class<T> rawType, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations)  
      • Methods inherited from class java.lang.Object

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

      • DateProvider

        public DateProvider()
    • Method Detail

      • getConverter

        public <T> javax.ws.rs.ext.ParamConverter<T> getConverter​(java.lang.Class<T> rawType,
                                                                  java.lang.reflect.Type genericType,
                                                                  java.lang.annotation.Annotation[] annotations)
        Specified by:
        getConverter in interface javax.ws.rs.ext.ParamConverterProvider