@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface Endpoint
Most @Endpoint classes will declare one or more
@ReadOperation, @WriteOperation,
@DeleteOperation annotated methods which will be automatically
adapted to the exposing technology (JMX, Spring MVC, Spring WebFlux, Jersey etc.).
@Endpoint represents the lowest common denominator for endpoints and
intentionally limits the sorts of operation methods that may be defined in order to
support the broadest possible range of exposure technologies. If you need deeper
support for a specific technology you can either write an endpoint that is
filtered to a certain technology, or provide
extension for the broader endpoint.
EndpointExtension,
FilteredEndpoint,
EndpointDiscoverer| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
enableByDefault
If the endpoint should be enabled or disabled by default.
|
String |
id
The id of the endpoint (must follow
EndpointId rules). |
public abstract String id
EndpointId rules).EndpointId