Tag

Custom Argument Resolver

0 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 29, 2023 · Backend Development

Mastering Spring Boot Custom Parameter Resolvers: A Step‑by‑Step Guide

This guide explains how to create a Spring Boot custom HTTP message converter and argument resolver, register them, and use a @Pack annotation to parse a simple 'name:张三,age:20' request body into a Users object, enhancing backend flexibility.

Backend DevelopmentCustom Argument ResolverHTTP message converter
0 likes · 7 min read
Mastering Spring Boot Custom Parameter Resolvers: A Step‑by‑Step Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 29, 2021 · Backend Development

How Spring MVC Resolves Controller Parameters and Builds Custom Argument Resolvers

This article explains the internal workflow of Spring MVC’s HandlerMethodArgumentResolver for processing controller method parameters, walks through the core source code steps, and demonstrates how to implement and register a custom argument resolver using a bespoke annotation.

Custom Argument ResolverHandlerMethodArgumentResolverJava
0 likes · 7 min read
How Spring MVC Resolves Controller Parameters and Builds Custom Argument Resolvers