Tag

Formatter SPI

1 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 31, 2023 · Backend Development

Mastering Custom Formatter SPI in Spring Boot 2.6.12

This guide explains how to use Spring's Formatter SPI and AnnotationFormatterFactory to create, register, and test custom type converters and annotation‑based formatters in a Spring Boot 2.6.12 application, complete with code samples and endpoint demonstrations.

AnnotationFormatterFactoryCustom FormatterFormatter SPI
0 likes · 8 min read
Mastering Custom Formatter SPI in Spring Boot 2.6.12
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 19, 2023 · Backend Development

Master Custom Data Type Conversion in Spring Boot with Formatter SPI

This guide explains how to use Spring Boot's Formatter SPI to create custom type converters, implement both simple and annotation‑based formatters, register them in a WebMvcConfigurer, and test the conversions through REST endpoints, complete with code examples.

Custom ConverterFormatter SPIJava
0 likes · 7 min read
Master Custom Data Type Conversion in Spring Boot with Formatter SPI