[[mappings]]
= Mappings (`mappings`)

The `mappings` endpoint provides information about the application's request mappings.



[[mappings-retrieving]]
== Retrieving the Mappings

To retrieve the mappings, make a `GET` request to `/actuator/mappings`, as shown in the
following curl-based example:

include::{snippets}mappings/curl-request.adoc[]

The resulting response is similar to the following:

include::{snippets}mappings/http-response.adoc[]



[[mappings-retrieving-response-structure]]
=== Response Structure

The response contains details of the application's mappings. The items found in the
response depend on the type of web application (reactive or Servlet-based). The
following table describes the structure of the common elements of the response:

[cols="2,1,3"]
include::{snippets}mappings/response-fields.adoc[]

The entries that may be found in `contexts.*.mappings` are described in the
following sections.


[[mappings-retrieving-response-structure-dispatcher-servlets]]
=== Dispatcher Servlets Response Structure

When using Spring MVC, the response contains details of any `DispatcherServlet`
request mappings beneath `contexts.*.mappings.dispatcherServlets`. The following
table describes the structure of this section of the response:

[cols="2,1,3"]
include::{snippets}mappings/response-fields-dispatcher-servlets.adoc[]



[[mappings-retrieving-response-structure-servlets]]
=== Servlets Response Structure

When using the Servlet stack, the response contains details of any `Servlet` mappings
beneath `contexts.*.mappings.servlets`. The following table describes the structure of
this section of the response:

[cols="2,1,3"]
include::{snippets}mappings/response-fields-servlets.adoc[]



[[mappings-retrieving-response-structure-servlet-filters]]
=== Servlet Filters Response Structure

When using the Servlet stack, the response contains details of any `Filter` mappings
beneath `contexts.*.mappings.servletFilters`. The following table describes the
structure of this section of the response:

[cols="2,1,3"]
include::{snippets}mappings/response-fields-servlet-filters.adoc[]



[[mappings-retrieving-response-structure-dispatcher-servlets]]
=== Dispatcher Handlers Response Structure

When using Spring WebFlux, the response contains details of any `DispatcherHandler`
request mappings beneath `contexts.*.mappings.dispatcherHandlers`. The following
table describes the structure of this section of the response:

[cols="2,1,3"]
include::{snippets}mappings/response-fields-dispatcher-handlers.adoc[]
