public class I2PControlController extends Object implements RouterApp
| Modifier and Type | Field and Description |
|---|---|
(package private) static String | PROP_ALLOWED_HOSTSAllowed hosts config property |
| Constructor and Description |
|---|
I2PControlController(RouterContext ctx,
ClientAppManager mgr)RouterApp (new way) |
| Modifier and Type | Method and Description |
|---|---|
Server | buildServer()Builds a new server. |
String | getDisplayName()The display name of the ClientApp, used in user interfaces. |
String | getName()The generic name of the ClientApp, used for registration,
e.g. |
String | getPluginDir() |
ClientAppState | getState()The current state of the ClientApp. |
void | shutdown(String[] args)Stop the Jetty server |
void | startup()Start the Jetty server |
static final String PROP_ALLOWED_HOSTS
public I2PControlController(RouterContext ctx, ClientAppManager mgr)
public Server buildServer()
public String getDisplayName()
ClientAppgetDisplayName in interface ClientApppublic String getName()
ClientApppublic String getPluginDir()
public ClientAppState getState()
ClientApppublic void shutdown(String[] args)