Interface EndpointRestrictionsService
- All Known Implementing Classes:
ListableEndpointRestrictionsService
public interface EndpointRestrictionsService
Service is used to determine whether an endpoint is disabled based on the endpoint's context data
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisEndpointDisabled(String configPrefix, EndpointContextData endpointContextData) Specifies whether the endpoint is disabled, based on given endpoint's context data and configuration prefix.
-
Method Details
-
isEndpointDisabled
Specifies whether the endpoint is disabled, based on given endpoint's context data and configuration prefix.Configuration prefix is used to build property key, which is used to get disabled endpoints array.
- Parameters:
configPrefix- configuration prefixendpointContextData- endpoint context data- Returns:
true- means the endpoint is disabled
-