Tag

AnnotationFormatterFactory

0 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 29, 2024 · Backend Development

How to Build a Custom Annotation‑Based Data Formatter in Spring Boot

This tutorial demonstrates how to create a custom annotation and formatter in Spring Boot 3.2.5 to automatically convert request parameters like "666,China" into a User object, covering the required interfaces, implementation, registration, and testing with code examples and screenshots.

AnnotationFormatterFactoryCustom AnnotationData Formatter
0 likes · 6 min read
How to Build a Custom Annotation‑Based Data Formatter in Spring Boot
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