Class OffsetDateTimeProvider

  • All Implemented Interfaces:
    javax.ws.rs.ext.ParamConverterProvider

    @Provider
    @Singleton
    @Deprecated
    public class OffsetDateTimeProvider
    extends Object
    implements javax.ws.rs.ext.ParamConverterProvider
    Deprecated.
    Use org.apache.cxf.jaxrs.provider.JavaTimeTypesParamConverterProvider instead.
    ParamConverterProvider for converting between a String and OffsetDateTime.
    • Field Detail

      • offset

        private final ZoneOffset offset
        Deprecated.
    • Constructor Detail

      • OffsetDateTimeProvider

        public OffsetDateTimeProvider()
        Deprecated.
        Since:
        2.3.1
      • OffsetDateTimeProvider

        public OffsetDateTimeProvider​(ZoneOffset offset)
        Deprecated.
    • Method Detail

      • getConverter

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