Class CharacterProvider

java.lang.Object
org.oxerr.commons.ws.rs.provider.CharacterProvider
All Implemented Interfaces:
javax.ws.rs.ext.ParamConverterProvider

@Provider @Singleton public class CharacterProvider extends Object implements javax.ws.rs.ext.ParamConverterProvider
ParamConverterProvider for converting between a String and Character.
  • Constructor Details

    • CharacterProvider

      public CharacterProvider()
  • Method Details

    • getConverter

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