java.lang.Object
net.i2p.router.web.helpers.BanlistRenderer.IPBanEntry
Enclosing class:
BanlistRenderer

private static class BanlistRenderer.IPBanEntryextends Object
Entry for IP-only bans from sessionbans.txt.
  • Field Details

    • ip

      final String ip
      The banned address.
    • hostname

      final String hostname
      The resolved hostname, if any.
    • reason

      final String reason
      The reason for the ban.
    • expires

      final long expires
      When the ban expires.
    • durationStr

      final String durationStr
      The ban duration for display.
  • Constructor Details

    • IPBanEntry

      IPBanEntry(String ip, String hostname, String reason, long expires, String durationStr)
      One row of the ban table.
      Parameters:
      ip - the banned address
      hostname - the resolved hostname, null if none
      reason - the reason for the ban
      expires - when the ban expires
      durationStr - the ban duration for display