Package net.i2p.router.web.helpers
Class SummaryBarRenderer
- java.lang.Object
-
- net.i2p.router.web.helpers.SummaryBarRenderer
-
class SummaryBarRenderer extends Object
Refactored from summarynoframe.jsp to save ~100KB
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static String[]
ALL_SECTIONS
(package private) static Map<String,String>
SECTION_NAMES
-
Constructor Summary
Constructors Constructor Description SummaryBarRenderer(RouterContext context, SummaryHelper helper)
-
Method Summary
-
-
-
Constructor Detail
-
SummaryBarRenderer
public SummaryBarRenderer(RouterContext context, SummaryHelper helper)
-
-
Method Detail
-
renderSummaryHTML
public void renderSummaryHTML(Writer out) throws IOException
Note - ensure all links in here are absolute, as the summary bar may be displayed on lower-level directory errors.- Throws:
IOException
-
renderHelpAndFAQHTML
public String renderHelpAndFAQHTML()
-
renderI2PServicesHTML
public String renderI2PServicesHTML()
-
getEepsiteURL
static String getEepsiteURL(PortMapper pm)
- Returns:
- null if none
- Since:
- 0.9.43 split out from above, used by HomeHelper, fixed for IPv6
-
renderI2PInternalsHTML
public String renderI2PInternalsHTML()
-
renderI2PDiagnosticsHTML
public String renderI2PDiagnosticsHTML()
Renders html for section containing logging, peer information, non-configuration "Admin" elements.- Since:
- 0.9.50 separates config from non config elements in "I2P Internals"
-
renderAdvancedHTML
public String renderAdvancedHTML()
-
renderRouterInfoHTML
public String renderRouterInfoHTML()
-
renderShortRouterInfoHTML
public String renderShortRouterInfoHTML()
-
renderAdvancedRouterInfoHTML
public String renderAdvancedRouterInfoHTML()
- Since:
- 0.9.32
-
renderMemoryBarHTML
public String renderMemoryBarHTML()
- Since:
- 0.9.32
-
renderNetworkReachabilityHTML
public String renderNetworkReachabilityHTML()
-
renderUpdateStatusHTML
public String renderUpdateStatusHTML()
-
renderRestartStatusHTML
public String renderRestartStatusHTML()
-
renderPeersHTML
public String renderPeersHTML()
-
renderPeersAdvancedHTML
public String renderPeersAdvancedHTML()
- Since:
- 0.9.32
-
renderFirewallAndReseedStatusHTML
public String renderFirewallAndReseedStatusHTML()
-
renderBandwidthHTML
public String renderBandwidthHTML()
-
renderBandwidthGraphHTML
public String renderBandwidthGraphHTML()
- Since:
- 0.9.32
-
renderTunnelsHTML
public String renderTunnelsHTML()
-
renderCongestionHTML
public String renderCongestionHTML()
-
renderTunnelStatusHTML
public String renderTunnelStatusHTML()
-
renderDestinationsHTML
public String renderDestinationsHTML()
-
renderNewsHeadingsHTML
public String renderNewsHeadingsHTML()
- Since:
- 0.9.1
-
-