Package org.archive.crawler.restlet

Examples of org.archive.crawler.restlet.EngineApplication


            component.getClients().add(Protocol.CLAP);
            Guard guard = new RateLimitGuard(null,
                    ChallengeScheme.HTTP_DIGEST, "Authentication Required");
            guard.getSecrets().put(authLogin, authPassword.toCharArray());
            component.getDefaultHost().attach(guard);
            guard.setNext(new EngineApplication(engine));
            component.start();
            startupOut.println("engine listening at port "+port);
            startupOut.println("operator login set per " +
                    ((aOption.startsWith("@")) ? "file "+aOption : "command-line"));
            if(authPassword.length()<8 || authPassword.matches("[a-zA-Z]{0,10}")
View Full Code Here

TOP

Related Classes of org.archive.crawler.restlet.EngineApplication

Copyright © 2018 www.massapicom. 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.