Examples of CrawljaxServer


Examples of com.crawljax.web.CrawljaxServer

  @Override
  public void before() {
    File outputDir = new File(getClass().getProtectionDomain().getCodeSource().getLocation().getPath() + File.separatorChar + "outputFolder");
    File pluginsDir = new File(getClass().getProtectionDomain().getCodeSource().getLocation().getPath() + File.separatorChar + "plugins");
    server = new CrawljaxServer(new CrawljaxServerConfigurationBuilder()
        .setPort(0).setOutputDir(outputDir).setPluginDir(pluginsDir));
    executor = Executors.newSingleThreadExecutor();
    serverResult = executor.submit(server);
    server.waitUntilRunning(10000);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.