Skip to main content

Converters

Learn Converters (Data Binding, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Fresher Notes Converter is the Spring interface Converter<S, T> with one method, T convert(S source) , that turns one type into another. Use in MVC : it converts request parameters, path variables and headers (strings) into your own types before a controller runs. Stateless and thread-safe , so one instance can be shared across all requests.

More lessons in Data Binding