Tagged articles
RequestMapping
10 articles · Page 1 of 1
This guide walks through creating Spring MVC controllers using @Controller, implementing the Controller interface, extending AbstractController, mapping URLs and HTTP methods, handling request parameters, returning ModelAndView, performing redirects, processing forms, uploading files, autowiring services, and adhering to the single‑responsibility principle.
ControllerJavaModelAndView
0 likes · 14 min read

This article demonstrates how to implement multi‑version REST APIs in Spring Boot 3 by leveraging @RequestMapping attributes such as headers, params, and consumes, providing complete code examples, request screenshots, and a custom HttpMessageConverter for Content‑Type based versioning.
API versioningConsumesHeaders
0 likes · 10 min read

This article explains how SpringBoot's @RequestMapping and its derived annotations like @GetMapping, @PostMapping, @PutMapping, and @DeleteMapping can reduce repetitive routing code, improve readability, and accelerate development of RESTful APIs, illustrated with practical code examples and best‑practice tips.
GetMappingJavaPostMapping
0 likes · 6 min read

This article demonstrates how to programmatically register and unregister Spring Boot controller methods, covering simple examples, adding request constraints, custom matching conditions, and endpoint removal, with complete code snippets and a test result illustration.
ControllerJavaRequestMapping
0 likes · 6 min read

This article provides a comprehensive guide to using Spring Boot’s @RequestMapping annotation, covering path definitions, HTTP methods, headers, produces/consumes, path variables, parameters, fallback handling, and advanced options, with practical curl commands and code snippets for each scenario.
HTTPRequestMappingSpring Boot
0 likes · 8 min read

This tutorial explains the basics of SpringBoot's @RequestMapping annotation, its shortcut variants, handling of HEAD and OPTIONS requests, how to create custom request annotations, and demonstrates dynamic handler registration with complete code examples.
AnnotationsJavaREST
0 likes · 7 min read

This guide demonstrates how to create a custom request‑handling method, register it programmatically with Spring MVC's RequestMappingHandlerMapping, and explains the underlying handler detection and mapping process in Spring Boot 2.2.
JavaRequestMappingSpring Boot
0 likes · 4 min read

This article presents fourteen practical techniques for building Spring MVC controllers, covering annotation usage, interface implementation, abstract class extension, URL mapping, HTTP method specification, request parameter binding, model handling, redirects, form processing, file uploads, dependency injection, servlet access, and single‑responsibility design.
AnnotationsControllerJava
0 likes · 16 min read

This article explains why Spring Boot 2.1.x stopped printing HTTP request mappings, shows that the log level was changed from INFO to TRACE, and provides the exact configuration needed to re‑enable detailed endpoint logs during application startup.
JavaLoggingRequestMapping
0 likes · 8 min read

This article explains how Spring MVC uses annotations such as @RequestMapping, @PathVariable, @RequestParam and @CookieValue to map URLs, retrieve parameters, implement RESTful CRUD operations via hidden method filters, and provides complete code examples for each scenario.
AnnotationsRESTRequestMapping
0 likes · 10 min read
