Tagged articles
3 articles
Page 1 of 1
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 17, 2023 · Backend Development

Master Spring Boot Request Mapping: Content Types, Params, Headers, URI Patterns

This guide explains how Spring Boot 2.6.12 uses @GetMapping with consumes and produces attributes to restrict request and response content types, demonstrates matching based on request parameters and headers, details the internal request mapping lookup process, compares PathPattern and AntPathMatcher URI patterns, and shows dynamic registration of request handlers.

REST APIRequest MappingSpring Boot
0 likes · 9 min read
Master Spring Boot Request Mapping: Content Types, Params, Headers, URI Patterns
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 14, 2021 · Backend Development

Mastering Spring Boot Request Mapping: Content Types, Params, Headers, and Dynamic Registration

This guide explains how to use Spring Boot's @GetMapping attributes to restrict requests by content type, parameters, and headers, compares PathPattern and AntPathMatcher URI patterns, and demonstrates dynamic registration of request handlers through programmatic mapping configuration.

Dynamic RegistrationREST APIRequest Mapping
0 likes · 6 min read
Mastering Spring Boot Request Mapping: Content Types, Params, Headers, and Dynamic Registration