net.i2p.router.web
Class RouterConsoleRunner

java.lang.Object
  extended by net.i2p.router.web.RouterConsoleRunner

public class RouterConsoleRunner
extends java.lang.Object


Nested Class Summary
(package private) static class RouterConsoleRunner.WarFilenameFilter
           
 
Field Summary
static java.lang.String ENABLED
           
static java.lang.String PREFIX
           
static java.lang.String ROUTERCONSOLE
           
 
Constructor Summary
RouterConsoleRunner(java.lang.String[] args)
           
 
Method Summary
(package private) static java.lang.String getPassword()
           
(package private) static void initialize(org.mortbay.jetty.servlet.WebApplicationContext context)
           
static void main(java.lang.String[] args)
           
 void startConsole()
           
static void storeWebAppProperties(java.util.Properties props)
           
static java.util.Properties webAppProperties()
          public void stopConsole() { try { _server.stop(); } catch (InterruptedException ie) { ie.printStackTrace(); } }
static java.util.Properties webAppProperties(java.lang.String dir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROUTERCONSOLE

public static final java.lang.String ROUTERCONSOLE
See Also:
Constant Field Values

PREFIX

public static final java.lang.String PREFIX
See Also:
Constant Field Values

ENABLED

public static final java.lang.String ENABLED
See Also:
Constant Field Values
Constructor Detail

RouterConsoleRunner

public RouterConsoleRunner(java.lang.String[] args)
Parameters:
args - second arg may be a comma-separated list of bind addresses, for example ::1,127.0.0.1 On XP, the other order (127.0.0.1,::1) fails the IPV6 bind, because 127.0.0.1 will bind ::1 also. But even though it's bound to both, we can't connect to [::1]:7657 for some reason. So the wise choice is ::1,127.0.0.1
Method Detail

main

public static void main(java.lang.String[] args)

startConsole

public void startConsole()

initialize

static void initialize(org.mortbay.jetty.servlet.WebApplicationContext context)

getPassword

static java.lang.String getPassword()

webAppProperties

public static java.util.Properties webAppProperties()
public void stopConsole() { try { _server.stop(); } catch (InterruptedException ie) { ie.printStackTrace(); } }


webAppProperties

public static java.util.Properties webAppProperties(java.lang.String dir)

storeWebAppProperties

public static void storeWebAppProperties(java.util.Properties props)