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 TypeMethodDescriptiondecapitalize(Class<?> theClass) Decapitalize the string the same way it expects to be used in the deserialization process, for unmarshalling correctness.
-
Method Details
-
decapitalize
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
OptionalString with the decapitalized java class string name
-