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 Type
    Method
    Description
    boolean
    isEndpointDisabled(String configPrefix, EndpointContextData endpointContextData)
    Specifies whether the endpoint is disabled, based on given endpoint's context data and configuration prefix.
  • Method Details

    • isEndpointDisabled

      boolean isEndpointDisabled(String configPrefix, EndpointContextData endpointContextData)
      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 prefix
      endpointContextData - endpoint context data
      Returns:
      true - means the endpoint is disabled