Interface Whitelist

All Known Subinterfaces:
InboundWhitelist, OutboundWhitelist

@PublicApi public interface Whitelist
Check if access to a given uri is allowed or not.
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if requests to the provided URI are allowed according to the current whitelist configuration
  • Method Details

    • isAllowed

      boolean isAllowed(URI uri)
      Checks if requests to the provided URI are allowed according to the current whitelist configuration
      Parameters:
      uri - the uri a http request is made to
      Returns:
      true if requests are allowed, false otherwise