java.lang.Object
net.i2p.router.web.HelperBase
net.i2p.router.web.helpers.TunnelHelper

public class TunnelHelperextends HelperBase
Helper for tunnel status page rendering and form processing. Provides tunnel summary information, status display, and configuration guidance for I2P tunnel management.
  • Constructor Details

    • TunnelHelper

      public TunnelHelper()
      Create the helper; the superclass constructor sets up the request context.
  • Method Details

    • getTunnelSummary

      public String getTunnelSummary()
      Write the tunnel status and guide HTML into the response.
      Returns:
      the rendered tunnel status and guide, or an empty string when the rendering failed
    • isAdvanced

      public boolean isAdvanced()
      Report whether the console is in advanced mode.
      Overrides:
      isAdvanced in class HelperBase
      Returns:
      the value of the routerconsole.advanced property, which enables the extra pages the full console shows
    • renderFragment

      public void renderFragment(String id)
      Render a single named element for the contentonly fragment mode of the local tunnels page.
      Parameters:
      id - the element id