java.lang.Object
net.i2p.router.web.helpers.BanlistRenderer.IPBanEntry
- Enclosing class:
BanlistRenderer
Entry for IP-only bans from sessionbans.txt.
Field Summary
FieldsModifier and TypeFieldDescription(package private) final StringThe ban duration for display.(package private) final longWhen the ban expires.(package private) final StringThe resolved hostname, if any.(package private) final StringThe banned address.(package private) final StringThe reason for the ban.Constructor Summary
ConstructorsConstructorDescriptionIPBanEntry(String ip, String hostname, String reason, long expires, String durationStr) One row of the ban table.Method Summary
Field Details
ip
The banned address.hostname
The resolved hostname, if any.reason
The reason for the ban.expires
final long expiresWhen the ban expires.durationStr
The ban duration for display.
Constructor Details
IPBanEntry