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

    Modifier and Type
    Method
    Description
    decapitalize(Class<?> theClass)
    Decapitalize the string the same way it expects to be used in the deserialization process, for unmarshalling correctness.
  • Method Details

    • decapitalize

      Optional<String> decapitalize(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