congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
RestletCloudFilter.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.restlet.ext.platform.internal.RestletCloudFilter
constructor

Best Java code snippets using org.restlet.ext.platform.internal.RestletCloudFilter.<init> (Showing top 4 results out of 315)

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

@Override
public Filter createInboundFilter(Context context) {
  RestletCloudConfig restletCloudConfig = new RestletCloudConfig();
  restletCloudConfig.setAgentCellId(agentCellId);
  restletCloudConfig.setAgentCellVersion(agentCellVersion);
  restletCloudConfig.setAgentServiceUrl(agentServiceUrl);
  restletCloudConfig.setAgentLogin(agentLogin);
  restletCloudConfig.setAgentPassword(agentPassword);
  restletCloudConfig.setReverseProxyEnabled(reverseProxyEnabled);
  restletCloudConfig.setReverseProxyTargetUrl(reverseProxyTargetUrl);
  restletCloudConfig.setAgentAnalyticsBufferSize(agentAnalyticsBufferSize);
  restletCloudConfig.setAgentAnalyticsPostPeriodInSecond(agentAnalyticsPostPeriodInSecond);
  restletCloudFilter = new RestletCloudFilter(context, restletCloudConfig,
      agentEnabled, firewallEnabled, firewallRules);
  if (agentEnabled && agentRefreshPeriodInSecond > 0) {
    TimerTask task = new AgentConfigurationTimerTask(restletCloudFilter);
    agentRefreshTimer = new Timer(true);
    long agentRefreshPeriodInMs = TimeUnit.SECONDS.toMillis(agentRefreshPeriodInSecond);
    agentRefreshTimer.scheduleAtFixedRate(task, agentRefreshPeriodInMs,
        agentRefreshPeriodInMs);
    LOGGER.info("Setting agent refresh timer every "
        + TimeUnit.SECONDS.toMinutes(agentRefreshPeriodInSecond)
        + " minutes");
  }
  return restletCloudFilter;
}
origin: org.restlet.jse/org.restlet.ext.platform

@Override
public Filter createInboundFilter(Context context) {
  RestletCloudConfig restletCloudConfig = new RestletCloudConfig();
  restletCloudConfig.setAgentCellId(agentCellId);
  restletCloudConfig.setAgentCellVersion(agentCellVersion);
  restletCloudConfig.setAgentServiceUrl(agentServiceUrl);
  restletCloudConfig.setAgentLogin(agentLogin);
  restletCloudConfig.setAgentPassword(agentPassword);
  restletCloudConfig.setReverseProxyEnabled(reverseProxyEnabled);
  restletCloudConfig.setReverseProxyTargetUrl(reverseProxyTargetUrl);
  restletCloudConfig.setAgentAnalyticsBufferSize(agentAnalyticsBufferSize);
  restletCloudConfig.setAgentAnalyticsPostPeriodInSecond(agentAnalyticsPostPeriodInSecond);
  restletCloudFilter = new RestletCloudFilter(context, restletCloudConfig,
      agentEnabled, firewallEnabled, firewallRules);
  if (agentEnabled && agentRefreshPeriodInSecond > 0) {
    TimerTask task = new AgentConfigurationTimerTask(restletCloudFilter);
    agentRefreshTimer = new Timer(true);
    long agentRefreshPeriodInMs = TimeUnit.SECONDS.toMillis(agentRefreshPeriodInSecond);
    agentRefreshTimer.scheduleAtFixedRate(task, agentRefreshPeriodInMs,
        agentRefreshPeriodInMs);
    LOGGER.info("Setting agent refresh timer every "
        + TimeUnit.SECONDS.toMinutes(agentRefreshPeriodInSecond)
        + " minutes");
  }
  return restletCloudFilter;
}
origin: org.restlet.osgi/org.restlet.ext.platform

@Override
public Filter createInboundFilter(Context context) {
  RestletCloudConfig restletCloudConfig = new RestletCloudConfig();
  restletCloudConfig.setAgentCellId(agentCellId);
  restletCloudConfig.setAgentCellVersion(agentCellVersion);
  restletCloudConfig.setAgentServiceUrl(agentServiceUrl);
  restletCloudConfig.setAgentLogin(agentLogin);
  restletCloudConfig.setAgentPassword(agentPassword);
  restletCloudConfig.setReverseProxyEnabled(reverseProxyEnabled);
  restletCloudConfig.setReverseProxyTargetUrl(reverseProxyTargetUrl);
  restletCloudConfig.setAgentAnalyticsBufferSize(agentAnalyticsBufferSize);
  restletCloudConfig.setAgentAnalyticsPostPeriodInSecond(agentAnalyticsPostPeriodInSecond);
  restletCloudFilter = new RestletCloudFilter(context, restletCloudConfig,
      agentEnabled, firewallEnabled, firewallRules);
  if (agentEnabled && agentRefreshPeriodInSecond > 0) {
    TimerTask task = new AgentConfigurationTimerTask(restletCloudFilter);
    agentRefreshTimer = new Timer(true);
    long agentRefreshPeriodInMs = TimeUnit.SECONDS.toMillis(agentRefreshPeriodInSecond);
    agentRefreshTimer.scheduleAtFixedRate(task, agentRefreshPeriodInMs,
        agentRefreshPeriodInMs);
    LOGGER.info("Setting agent refresh timer every "
        + TimeUnit.SECONDS.toMinutes(agentRefreshPeriodInSecond)
        + " minutes");
  }
  return restletCloudFilter;
}
origin: org.restlet.gae/org.restlet.ext.platform

@Override
public Filter createInboundFilter(Context context) {
  RestletCloudConfig restletCloudConfig = new RestletCloudConfig();
  restletCloudConfig.setAgentCellId(agentCellId);
  restletCloudConfig.setAgentCellVersion(agentCellVersion);
  restletCloudConfig.setAgentServiceUrl(agentServiceUrl);
  restletCloudConfig.setAgentLogin(agentLogin);
  restletCloudConfig.setAgentPassword(agentPassword);
  restletCloudConfig.setReverseProxyEnabled(reverseProxyEnabled);
  restletCloudConfig.setReverseProxyTargetUrl(reverseProxyTargetUrl);
  restletCloudConfig.setAgentAnalyticsBufferSize(agentAnalyticsBufferSize);
  restletCloudConfig.setAgentAnalyticsPostPeriodInSecond(agentAnalyticsPostPeriodInSecond);
  restletCloudFilter = new RestletCloudFilter(context, restletCloudConfig,
      agentEnabled, firewallEnabled, firewallRules);
  if (agentEnabled && agentRefreshPeriodInSecond > 0) {
    TimerTask task = new AgentConfigurationTimerTask(restletCloudFilter);
    agentRefreshTimer = new Timer(true);
    long agentRefreshPeriodInMs = TimeUnit.SECONDS.toMillis(agentRefreshPeriodInSecond);
    agentRefreshTimer.scheduleAtFixedRate(task, agentRefreshPeriodInMs,
        agentRefreshPeriodInMs);
    LOGGER.info("Setting agent refresh timer every "
        + TimeUnit.SECONDS.toMinutes(agentRefreshPeriodInSecond)
        + " minutes");
  }
  return restletCloudFilter;
}
org.restlet.ext.platform.internalRestletCloudFilter<init>

Javadoc

Create a new RestletCloudFilter with the specified configuration.

Popular methods of RestletCloudFilter

  • refreshRestletCloudFilter
    Updates the filter with its modules settings.
  • 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

  • Updating database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • onRequestPermissionsResult (Fragment)
  • findViewById (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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