@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Endpoint @FilteredEndpoint(value=org.springframework.boot.actuate.endpoint.web.annotation.ServletEndpointFilter.class) public @interface ServletEndpoint
Supplier<EndpointServlet>
and return a valid EndpointServlet
.
This annotation can be used when existing servlets need to be exposed as actuator
endpoints, but it is at the expense of portability. Most users should prefer the
@Endpoint
or @WebEndpoint
annotations whenever
possible.
Modifier and Type | Required Element and Description |
---|---|
String |
id
The id of the endpoint.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
enableByDefault
If the endpoint should be enabled or disabled by default.
|
@AliasFor(annotation=Endpoint.class) public abstract String id
@AliasFor(annotation=Endpoint.class) public abstract boolean enableByDefault
true
if the endpoint is enabled by default