liveBook · Manning

Handler mapping

A handler mapping is a configuration that associates an event, request, or other condition with the logic responsible for handling it.

How 2 Manning books explain it

Spring Start Here, Second Edition

A handler mapping is a Spring MVC component that selects a controller action for an incoming request based on request conditions such as path and HTTP method.

How it is used
Selects the controller action that the DispatcherServlet calls to handle an incoming request.
How deep it goes
Explains lookup by @RequestMapping and notes HTTP methods, deferring their detail.
Examples
Uses a controller action mapped to /home with @RequestMapping.
What you can do after
Understand how a request is matched to a controller action and when an unmatched request returns 404.

Read how Spring Start Here, Second Edition explains handler mapping →

.NET MAUI in Action

A handler mapping is a customization definition that associates a view property or other key with logic for modifying its platform-specific handler.

How it is used
Customizes control appearance or behavior when the cross-platform abstraction does not expose enough platform-specific control.
How deep it goes
Explains handler architecture and three mapper methods, then demonstrates placement and callback parameters without detailing platform implementations.
Examples
Uses Button BackgroundColor, a custom stepper, and an Entry RemoveBorder mapping to illustrate handler customization.
What you can do after
Apply it via .NET MAUI mapper methods to customize existing controls and access platform-specific behavior.

Read how .NET MAUI in Action explains handler mapping →

Related concepts

Questions about handler mapping

What is handler mapping?

A handler mapping is a configuration that associates an event, request, or other condition with the logic responsible for handling it.

Which Manning books explain handler mapping?

Spring Start Here, Second Edition and .NET MAUI in Action.

What is handler mapping part of?

Handler mapping is part of handler. A software component that responds to an input by performing the processing or platform-specific actions associated with it.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.