Interface UrlPolicy


@JsFunction public interface UrlPolicy
Validates or normalizes a URL, or throws to reject it.
  • Method Summary

    Modifier and Type
    Method
    Description
    Invokes the UrlPolicy callback.
  • Method Details

    • onInvoke

      String onInvoke(String url)
      Invokes the UrlPolicy callback.
      Parameters:
      url - Value supplied for the url parameter.