code: public void setProtectedTargets(String... targets) {
          handler.setProtectedTargets(Arrays.copyOf(targets, targets.length));
      }
docs: Set protected targets.
  
  @param targets Array of URL prefix. Each prefix is in the form /path and
  will match either /path exactly or /path/anything