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

public class TransitSummaryHelperextends HelperBase
Helper for transit tunnel summary page rendering and form processing. The context is supplied by the base class, so there is nothing to do here.
  • Constructor Details

    • TransitSummaryHelper

      public TransitSummaryHelper()
      Nothing to initialize; the router context arrives with the base class.
  • Method Details

    • getTransitSummary

      public String getTransitSummary()
      Render the transit summary page body. The markup goes straight to the response writer when the helper has one, otherwise it is returned for the caller to place. A rendering failure is logged, not thrown, and yields an empty string.
      Returns:
      the transit summary, or an empty string on failure
    • renderFragment

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