congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
org.restlet.ext.platform.internal.agent.module
Code IndexAdd Tabnine to your IDE (free)

How to use org.restlet.ext.platform.internal.agent.module

Best Java code snippets using org.restlet.ext.platform.internal.agent.module (Showing top 20 results out of 315)

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

  @Override
  public void run() {
    flushLogs();
  }
}, postPeriodInMs, postPeriodInMs);
origin: org.restlet.jse/org.restlet.ext.platform

public ReverseProxyModule(Context context, String targetTemplate,
    boolean authenticationEnabled) {
  super(context, targetTemplate, Redirector.MODE_SERVER_OUTBOUND);
  this.authenticationEnabled = authenticationEnabled;
  setHeadersCleaning(false);
}
origin: org.restlet.jee/org.restlet.ext.platform

public void updateFirewallConfig(FirewallConfig firewallConfig) {
  addIpFilterRules(firewallSettings, firewallConfig);
  addRateLimitationRules(firewallSettings, firewallConfig);
}
origin: org.restlet.jse/org.restlet.ext.platform

@Override
protected void afterHandle(Request request, Response response) {
  long startTime = (Long) request.getAttributes().get(
      "org.restlet.startTime");
  int duration = (int) (getTimeMillis() - startTime);
  analyticsHandler.addCallLogToBuffer(request, response, duration,
      startTime);
}
origin: org.restlet.jse/org.restlet.ext.platform

/**
 * Create a new Authentication module with the specified settings.
 * 
 * @param restletCloudConfig
 *            The agent configuration.
 * @param modulesSettings
 *            The modules settings.
 * @param context
 *            The context.
 */
public AnalyticsModule(RestletCloudConfig restletCloudConfig,
    ModulesSettings modulesSettings, Context context) {
  super(context);
  analyticsHandler = new AnalyticsHandler(restletCloudConfig, modulesSettings);
}
origin: org.restlet.gae/org.restlet.ext.platform

public void updateFirewallConfig(FirewallConfig firewallConfig) {
  addIpFilterRules(firewallSettings, firewallConfig);
  addRateLimitationRules(firewallSettings, firewallConfig);
}
origin: org.restlet.osgi/org.restlet.ext.platform

@Override
protected void afterHandle(Request request, Response response) {
  long startTime = (Long) request.getAttributes().get(
      "org.restlet.startTime");
  int duration = (int) (getTimeMillis() - startTime);
  analyticsHandler.addCallLogToBuffer(request, response, duration,
      startTime);
}
origin: org.restlet.gae/org.restlet.ext.platform

  @Override
  public void run() {
    flushLogs();
  }
}, postPeriodInMs, postPeriodInMs);
origin: org.restlet.jee/org.restlet.ext.platform

public ReverseProxyModule(Context context, String targetTemplate,
    boolean authenticationEnabled) {
  super(context, targetTemplate, Redirector.MODE_SERVER_OUTBOUND);
  this.authenticationEnabled = authenticationEnabled;
  setHeadersCleaning(false);
}
origin: org.restlet.osgi/org.restlet.ext.platform

/**
 * Create a new Authentication module with the specified settings.
 * 
 * @param restletCloudConfig
 *            The agent configuration.
 * @param modulesSettings
 *            The modules settings.
 * @param context
 *            The context.
 */
public AnalyticsModule(RestletCloudConfig restletCloudConfig,
    ModulesSettings modulesSettings, Context context) {
  super(context);
  analyticsHandler = new AnalyticsHandler(restletCloudConfig, modulesSettings);
}
origin: org.restlet.jse/org.restlet.ext.platform

public void updateFirewallConfig(FirewallConfig firewallConfig) {
  addIpFilterRules(firewallSettings, firewallConfig);
  addRateLimitationRules(firewallSettings, firewallConfig);
}
origin: org.restlet.jee/org.restlet.ext.platform

@Override
protected void afterHandle(Request request, Response response) {
  long startTime = (Long) request.getAttributes().get(
      "org.restlet.startTime");
  int duration = (int) (getTimeMillis() - startTime);
  analyticsHandler.addCallLogToBuffer(request, response, duration,
      startTime);
}
origin: org.restlet.osgi/org.restlet.ext.platform

  @Override
  public void run() {
    flushLogs();
  }
}, postPeriodInMs, postPeriodInMs);
origin: org.restlet.osgi/org.restlet.ext.platform

public ReverseProxyModule(Context context, String targetTemplate,
    boolean authenticationEnabled) {
  super(context, targetTemplate, Redirector.MODE_SERVER_OUTBOUND);
  this.authenticationEnabled = authenticationEnabled;
  setHeadersCleaning(false);
}
origin: org.restlet.gae/org.restlet.ext.platform

/**
 * Create a new Authentication module with the specified settings.
 * 
 * @param restletCloudConfig
 *            The agent configuration.
 * @param modulesSettings
 *            The modules settings.
 * @param context
 *            The context.
 */
public AnalyticsModule(RestletCloudConfig restletCloudConfig,
    ModulesSettings modulesSettings, Context context) {
  super(context);
  analyticsHandler = new AnalyticsHandler(restletCloudConfig, modulesSettings);
}
origin: org.restlet.osgi/org.restlet.ext.platform

public void updateFirewallConfig(FirewallConfig firewallConfig) {
  addIpFilterRules(firewallSettings, firewallConfig);
  addRateLimitationRules(firewallSettings, firewallConfig);
}
origin: org.restlet.gae/org.restlet.ext.platform

@Override
protected void afterHandle(Request request, Response response) {
  long startTime = (Long) request.getAttributes().get(
      "org.restlet.startTime");
  int duration = (int) (getTimeMillis() - startTime);
  analyticsHandler.addCallLogToBuffer(request, response, duration,
      startTime);
}
origin: org.restlet.jee/org.restlet.ext.platform

  @Override
  public void run() {
    flushLogs();
  }
}, postPeriodInMs, postPeriodInMs);
origin: org.restlet.gae/org.restlet.ext.platform

public ReverseProxyModule(Context context, String targetTemplate,
    boolean authenticationEnabled) {
  super(context, targetTemplate, Redirector.MODE_SERVER_OUTBOUND);
  this.authenticationEnabled = authenticationEnabled;
  setHeadersCleaning(false);
}
origin: org.restlet.jee/org.restlet.ext.platform

/**
 * Create a new Authentication module with the specified settings.
 * 
 * @param restletCloudConfig
 *            The agent configuration.
 * @param modulesSettings
 *            The modules settings.
 * @param context
 *            The context.
 */
public AnalyticsModule(RestletCloudConfig restletCloudConfig,
    ModulesSettings modulesSettings, Context context) {
  super(context);
  analyticsHandler = new AnalyticsHandler(restletCloudConfig, modulesSettings);
}
org.restlet.ext.platform.internal.agent.module

Most used classes

  • AnalyticsHandler$AsyncCallLogsPostTask
    Asynchronous task posting the call logs to Restlet Cloud and implementing fall-back methods if attem
  • AnalyticsHandler
  • AnalyticsModule
    Analytics module for the agent. This class extends Filter and sends call logs to the Restlet Cloud p
  • AuthenticationModule$AgentVerifier
  • AuthenticationModule$UserIdentifier
    This class is used as Cache Key. The #secret is not used in the key, but the CacheLoader need it. Wa
  • AuthenticationModule,
  • AuthorizationModule$RestletOperationAuthorization,
  • AuthorizationModule,
  • FirewallModule,
  • ModulesSettingsModule,
  • ReverseProxyModule
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