|
|
|
@ -2242,19 +2242,6 @@ of how to register handlers in the servlet container.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[howto-use-actuator-with-jersey]]
|
|
|
|
|
=== Actuator and Jersey
|
|
|
|
|
Actuator HTTP endpoints are available only for Spring MVC-based applications. If you want
|
|
|
|
|
to use Jersey and still use the actuator, you need to enable Spring MVC (by depending
|
|
|
|
|
on `spring-boot-starter-web`, for example). By default, both Jersey and the Spring MVC
|
|
|
|
|
dispatcher servlet are mapped to the same path (`/`). You need to change the path for
|
|
|
|
|
one of them (by configuring `server.servlet.path` for Spring MVC or
|
|
|
|
|
`spring.jersey.application-path` for Jersey). For example, if you add
|
|
|
|
|
`server.servlet.path=/system` into `application.properties`, the actuator HTTP endpoints
|
|
|
|
|
are available under `/system`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[howto-security]]
|
|
|
|
|
== Security
|
|
|
|
|
|
|
|
|
|