Tagged articles
HandlerMapping
12 articles · Page 1 of 1
This article explains how SpringBoot’s DispatcherServlet acts as the central dispatcher of the Web module, detailing its role and the surrounding core components—HandlerMapping, HandlerAdapter, HandlerExceptionResolver, ViewResolver, and HttpMessageConverter—along with practical code examples and common pitfalls.
DispatcherServletHandlerAdapterHandlerMapping
0 likes · 14 min read

This tutorial explains how to extend Spring MVC's HandlerMapping by implementing a custom RequestCondition that matches requests based on an x-token header and a custom @AKF annotation, covering code implementation, configuration, testing, and the underlying request‑matching mechanism.
Custom RequestConditionHandlerMappingHeader Authentication
0 likes · 7 min read

This article explains how to simplify Spring MVC interface calls by defining custom annotations, implementing a custom HandlerMapping, configuring it in Spring Boot 2.6.12, and demonstrating usage with example code, while also covering related handler adapters and underlying principles.
Custom AnnotationHandlerMappingbackend development
0 likes · 6 min read

This article explains how Spring MVC handles incoming requests by detailing each core component—from DispatcherServlet to ViewResolver—and demonstrates various controller definitions, including @RestController, HttpRequestHandler, custom Controller, and servlet-based approaches, with code examples and configuration tips.
ControllerDispatcherServletHandlerMapping
0 likes · 5 min read

This article explains how Spring’s DispatcherServlet processes incoming HTTP requests by locating the appropriate HandlerMapping, selecting a HandlerAdapter, invoking pre‑ and post‑handle interceptors, executing the controller method, and finally rendering the response or handling errors, with detailed code examples.
HandlerAdapterHandlerMappingdispatcher-servlet
0 likes · 12 min read

This article explains, using servlet source code as a starting point, how Spring MVC registers @RequestMapping‑annotated controllers into RequestMappingHandlerMapping during container initialization and how the DispatcherServlet processes incoming HTTP requests by locating the appropriate HandlerMethod through a series of handler mappings and interceptor chains.
DispatcherServletHandlerMappingJava
0 likes · 17 min read

This article explains how Spring MVC evolved from basic Servlets to a front‑controller architecture, detailing the roles of DispatcherServlet, HandlerMapping, HandlerInterceptor, ModelAndView, and ViewResolver in streamlining request handling, business logic separation, and view rendering for modern Java web applications.
DispatcherServletHandlerMappingJava
0 likes · 18 min read

This article explains how Spring MVC evolved from basic Servlets to a sophisticated two‑level controller architecture, detailing the roles of DispatcherServlet, HandlerMapping, HandlerInterceptor, Handler, ModelAndView, ViewResolver, and View, while showing configuration examples and code snippets.
DispatcherServletHandlerMappingJava
0 likes · 17 min read

This article walks through the evolution from traditional Servlets to Spring MVC's DispatcherServlet, explaining how each component—Servlet, BaseServlet, DispatcherServlet, HandlerMapping, HandlerInterceptor, HandlerExecutionChain, ModelAndView, ViewResolver, and View—contributes to a cleaner, more modular server‑side architecture.
DispatcherServletHandlerMappingJava
0 likes · 17 min read

This article explains how Spring MVC evolved from basic Servlets to a two‑level controller architecture, detailing the roles of DispatcherServlet, HandlerMapping, HandlerInterceptor, ModelAndView, ViewResolver and View, and shows configuration examples that simplify server‑side development in Java web applications.
DispatcherServletHandlerMappingJava
0 likes · 16 min read

This article walks through the complete request processing flow of SpringBoot 2.2.6's DispatcherServlet, detailing how it obtains the HandlerExecutionChain, resolves the appropriate HandlerMethod via RequestMappingHandlerMapping, selects a HandlerAdapter, executes interceptors, invokes the controller method, and finally processes the response with converters and advice.
DispatcherServletHandlerAdapterHandlerMapping
0 likes · 14 min read

The article explains how to replace a traditional Spring MVC‑based REST RPC framework with a transparent RPC model by extending DispatcherServlet, HandlerMapping, and HandlerAdapter, providing implicit service contracts, simplified client interfaces, and code examples for registration and request handling.
BackendHandlerMappingJava
0 likes · 16 min read
