congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
RestletCloudFilter.refreshRestletCloudFilter
Code IndexAdd Tabnine to your IDE (free)

How to use
refreshRestletCloudFilter
method
in
org.restlet.ext.platform.internal.RestletCloudFilter

Best Java code snippets using org.restlet.ext.platform.internal.RestletCloudFilter.refreshRestletCloudFilter (Showing top 8 results out of 315)

origin: org.restlet.jse/org.restlet.ext.platform

/**
 * Retrieves the modules settings from the service and updates the filter.
 */
public void refreshRestletCloudFilterIfRevisionChanged() {
  try {
    ModulesSettings newModulesSettings = ModulesSettingsModule
        .getModulesSettings(restletCloudConfig, modulesSettings);
    if (newModulesSettings != null) {
      modulesSettings = newModulesSettings;
      LOGGER.info("Updating modules settings");
      refreshRestletCloudFilter();
    }
  } catch (Exception e) {
    LOGGER.log(Level.WARNING,
        "Unable to retrieve agent settings from platform", e);
  }
}
origin: org.restlet.jee/org.restlet.ext.platform

/**
 * Retrieves the modules settings from the service and updates the filter.
 */
public void refreshRestletCloudFilterIfRevisionChanged() {
  try {
    ModulesSettings newModulesSettings = ModulesSettingsModule
        .getModulesSettings(restletCloudConfig, modulesSettings);
    if (newModulesSettings != null) {
      modulesSettings = newModulesSettings;
      LOGGER.info("Updating modules settings");
      refreshRestletCloudFilter();
    }
  } catch (Exception e) {
    LOGGER.log(Level.WARNING,
        "Unable to retrieve agent settings from platform", e);
  }
}
origin: org.restlet.osgi/org.restlet.ext.platform

/**
 * Retrieves the modules settings from the service and updates the filter.
 */
public void refreshRestletCloudFilterIfRevisionChanged() {
  try {
    ModulesSettings newModulesSettings = ModulesSettingsModule
        .getModulesSettings(restletCloudConfig, modulesSettings);
    if (newModulesSettings != null) {
      modulesSettings = newModulesSettings;
      LOGGER.info("Updating modules settings");
      refreshRestletCloudFilter();
    }
  } catch (Exception e) {
    LOGGER.log(Level.WARNING,
        "Unable to retrieve agent settings from platform", e);
  }
}
origin: org.restlet.gae/org.restlet.ext.platform

/**
 * Retrieves the modules settings from the service and updates the filter.
 */
public void refreshRestletCloudFilterIfRevisionChanged() {
  try {
    ModulesSettings newModulesSettings = ModulesSettingsModule
        .getModulesSettings(restletCloudConfig, modulesSettings);
    if (newModulesSettings != null) {
      modulesSettings = newModulesSettings;
      LOGGER.info("Updating modules settings");
      refreshRestletCloudFilter();
    }
  } catch (Exception e) {
    LOGGER.log(Level.WARNING,
        "Unable to retrieve agent settings from platform", e);
  }
}
origin: org.restlet.jee/org.restlet.ext.platform

/**
 * Create a new RestletCloudFilter with the specified configuration.
 * 
 * @param context
 *            The current context.
 * @param restletCloudConfig
 *            The RestletCloudService configuration.
 */
public RestletCloudFilter(Context context, RestletCloudConfig restletCloudConfig,
             boolean agentEnabled, boolean firewallEnabled,
             List<FirewallRule> firewallRules) {
  super(context);
  this.firewallRules = firewallRules;
  this.firewallEnabled = firewallEnabled;
  this.restletCloudConfig = restletCloudConfig;
  this.agentEnabled = agentEnabled;
  this.context = context;
  validateRedirection(restletCloudConfig);
  if (agentEnabled) {
    validateAgentConfiguration(restletCloudConfig);
    modulesSettings = ModulesSettingsModule.getModulesSettings(
        restletCloudConfig, null);
  }
  refreshRestletCloudFilter();
}
origin: org.restlet.jse/org.restlet.ext.platform

/**
 * Create a new RestletCloudFilter with the specified configuration.
 * 
 * @param context
 *            The current context.
 * @param restletCloudConfig
 *            The RestletCloudService configuration.
 */
public RestletCloudFilter(Context context, RestletCloudConfig restletCloudConfig,
             boolean agentEnabled, boolean firewallEnabled,
             List<FirewallRule> firewallRules) {
  super(context);
  this.firewallRules = firewallRules;
  this.firewallEnabled = firewallEnabled;
  this.restletCloudConfig = restletCloudConfig;
  this.agentEnabled = agentEnabled;
  this.context = context;
  validateRedirection(restletCloudConfig);
  if (agentEnabled) {
    validateAgentConfiguration(restletCloudConfig);
    modulesSettings = ModulesSettingsModule.getModulesSettings(
        restletCloudConfig, null);
  }
  refreshRestletCloudFilter();
}
origin: org.restlet.osgi/org.restlet.ext.platform

/**
 * Create a new RestletCloudFilter with the specified configuration.
 * 
 * @param context
 *            The current context.
 * @param restletCloudConfig
 *            The RestletCloudService configuration.
 */
public RestletCloudFilter(Context context, RestletCloudConfig restletCloudConfig,
             boolean agentEnabled, boolean firewallEnabled,
             List<FirewallRule> firewallRules) {
  super(context);
  this.firewallRules = firewallRules;
  this.firewallEnabled = firewallEnabled;
  this.restletCloudConfig = restletCloudConfig;
  this.agentEnabled = agentEnabled;
  this.context = context;
  validateRedirection(restletCloudConfig);
  if (agentEnabled) {
    validateAgentConfiguration(restletCloudConfig);
    modulesSettings = ModulesSettingsModule.getModulesSettings(
        restletCloudConfig, null);
  }
  refreshRestletCloudFilter();
}
origin: org.restlet.gae/org.restlet.ext.platform

/**
 * Create a new RestletCloudFilter with the specified configuration.
 * 
 * @param context
 *            The current context.
 * @param restletCloudConfig
 *            The RestletCloudService configuration.
 */
public RestletCloudFilter(Context context, RestletCloudConfig restletCloudConfig,
             boolean agentEnabled, boolean firewallEnabled,
             List<FirewallRule> firewallRules) {
  super(context);
  this.firewallRules = firewallRules;
  this.firewallEnabled = firewallEnabled;
  this.restletCloudConfig = restletCloudConfig;
  this.agentEnabled = agentEnabled;
  this.context = context;
  validateRedirection(restletCloudConfig);
  if (agentEnabled) {
    validateAgentConfiguration(restletCloudConfig);
    modulesSettings = ModulesSettingsModule.getModulesSettings(
        restletCloudConfig, null);
  }
  refreshRestletCloudFilter();
}
org.restlet.ext.platform.internalRestletCloudFilterrefreshRestletCloudFilter

Javadoc

Updates the filter with its modules settings.

Popular methods of RestletCloudFilter

  • <init>
    Create a new RestletCloudFilter with the specified configuration.
  • refreshRestletCloudFilterIfRevisionChanged
    Retrieves the modules settings from the service and updates the filter.
  • validateAgentConfiguration
    Terminates the agent if the service's configuration is not correctly set.
  • validateRedirection
    Validates the redirection URL

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • scheduleAtFixedRate (Timer)
  • setScale (BigDecimal)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now