creationDate, DATE_FORMAT, expiryDate, reason, source| Constructor and Description |
|---|
BannedIpEntry(JsonObject json) |
BannedIpEntry(String ip) |
BannedIpEntry(String ip,
Date created,
String source,
Date expiry,
String reason) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
fromJson(JsonObject json) |
private static String |
getIp(JsonObject json) |
Text |
toText() |
getExpiryDate, getReason, getSource, isInvalidgetKeypublic BannedIpEntry(String ip)
public BannedIpEntry(String ip, @Nullable Date created, @Nullable String source, @Nullable Date expiry, @Nullable String reason)
public BannedIpEntry(JsonObject json)
private static String getIp(JsonObject json)
protected void fromJson(JsonObject json)