The router console user interface, implemented in routerconsole.jar, with these classes supporting the webapp in routerconsole.war. Entry point is RouterConsoleRunner, started from clients.config.
Most jsp pages in the console use a "Helper" or a "Renderer" class to assist in generating the HTML. For configuration pages that accept changes via POST, there is additionally a "Handler" class to process the POST data. Helpers usually extend HelperBase, and Handlers usually extend FormHandler. The base classes are in this package, but most Helpers, Handlers, and Renderers are in the helpers package.
This package was split in release 0.9.33, with most of the helpers and handlers moved to net.i2p.router.web.helpers, and moving them from routerconsole.jar to routerconsole.war.
No classes contained here are part of a public API. Subject to change. Not for public use.
Class Summary Class Description App ConfigServiceHandlerHandler to deal with form submissions from the service config form and act upon the values. ConfigUpdateHandler ConfigUpdateHelper ConsolePasswordManagerManage both plaintext and salted/hashed password storage in router.config. ContentHelper ContextHelper CSSHelperCopied and modded from I2PTunnel IndexBean (GPL) FormHandlerSimple form handler base class - does not depend on servlets or jsp, but instead the subclasses are populated with javabean properties. GraphConstantsBasic graph defaults HelperBaseBase helper HostCheckHandlerBlock certain Host headers to prevent DNS rebinding attacks. LocaleWebAppHandlerConvert foo.jsp to foo_xx.jsp for language xx. MessagesTranslate strings for this package. NavHelper NewsFeedHelperHTML-formatted full news entries NewsHelperIf news file does not exist, use file from the initialNews directory in $I2P PluginStarterStart/stop/delete plugins that are already installed Get properties of installed plugins Get or change settings in plugins.config PluginStopperStop all plugins that are installed and running RouterConsoleRunnerStart the router console. StatSummarizerA thread started by RouterConsoleRunner that checks the configuration for stats to be tracked via jrobin, and adds or deletes RRDs as necessary. SummaryListenerCreates and updates the in-memory or on-disk RRD database, and provides methods to generate graphs of the data SummaryRendererGenerate the RRD graph png images, including the combined rate graph. UpdateHandlerHandles the request to update the router by firing one or more
EepGetcalls to download the latest signed update file and displaying the status to anyone who asks.
WebAppConfigurationAdd to the webapp classpath as specified in webapps.config. WebAppStarterAdd, start or stop a webapp. WrapperListenerListen for events.