Interface StringDecapitalizer

  • All Known Implementing Classes:
    DefaultStringDecapitalizer

    public interface StringDecapitalizer
    Interface used to decapitalize Java class names for the purpose of enabling correct unmarshalling in Rest Controllers.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.String> decapitalize​(java.lang.Class<?> theClass)
      Decapitalize the string the same way it expects to be used in the deserialization process, for unmarshalling correctness.
    • Method Detail

      • decapitalize

        java.util.Optional<java.lang.String> decapitalize​(java.lang.Class<?> theClass)
        Decapitalize the string the same way it expects to be used in the deserialization process, for unmarshalling correctness.
        Parameters:
        theClass - the java class used to decapitalize the name
        Returns:
        an Optional String with the decapitalized java class string name