Interface ConnectRestExtensionContext
public interface ConnectRestExtensionContext
The interface provides the ability for
ConnectRestExtension implementations to access the JAX-RS Configurable and cluster state ConnectClusterState. The implementation for the interface is provided by the Connect framework.Method Summary
Modifier and TypeMethodDescriptionProvides the cluster state and health information about the connectors and tasks.jakarta.ws.rs.core.Configurable<? extends jakarta.ws.rs.core.Configurable> Provides an implementation ofConfigurablethat can be used to register JAX-RS resources.
Method Details
configurable
jakarta.ws.rs.core.Configurable<? extends jakarta.ws.rs.core.Configurable> configurable()Provides an implementation ofConfigurablethat can be used to register JAX-RS resources.- Returns:
- the JAX-RS
Configurable; nevernull
clusterState
ConnectClusterState clusterState()Provides the cluster state and health information about the connectors and tasks.- Returns:
- the cluster state information; never
null