public class Heritrix extends Object
Heritrix can also be embedded or launched by webapp initialization or by JMX bootstrapping. So far I count 4 methods of instantiation:
Modifier and Type | Field and Description |
---|---|
protected org.restlet.Component |
component |
protected Engine |
engine |
Constructor and Description |
---|
Heritrix() |
Modifier and Type | Method and Description |
---|---|
org.restlet.Component |
getComponent() |
Engine |
getEngine() |
protected static File |
getHeritrixHome()
Exploit
-Dheritrix.home if available to us. |
void |
instanceMain(String[] args) |
static void |
main(String[] args)
Launches a local Engine and restfgul web interface given the
command-line options or defaults.
|
protected void |
setupGlobalProperties(int port)
Setup global system properties that may be of use elsewhere.
|
protected void |
setupServer(int port,
String address,
String keystorePath,
String keystorePassword,
String keyPassword)
Create an HTTPS restlet Server instance matching the given parameters.
|
protected void |
useAdhocKeystore(PrintStream startupOut)
Perform preparation to use an ad-hoc, created-as-necessary
certificate/keystore for HTTPS access.
|
protected Engine engine
protected org.restlet.Component component
public static void main(String[] args) throws Exception
args
- Command line arguments.Exception
protected void setupGlobalProperties(int port)
port
- protected void useAdhocKeystore(PrintStream startupOut)
startupOut
- where to report fingerprintprotected void setupServer(int port, String address, String keystorePath, String keystorePassword, String keyPassword)
port
- address
- keystorePath
- keystorePassword
- keyPassword
- protected static File getHeritrixHome()
-Dheritrix.home
if available to us.
Is current working dir if no heritrix.home property supplied.IOException
public Engine getEngine()
public org.restlet.Component getComponent()
Copyright © 2003-2014 Internet Archive. All Rights Reserved.