Interface IIPBanEntry
- All Known Implementing Classes:
IPBanEntry
public interface IIPBanEntry
The interface IIPBanEntry represents an entry in an IP ban list.
-
Method Summary
Modifier and TypeMethodDescriptioncreated()Returns the date when the entry was created.expires()Returns the expiration date/time of the ban entry.ip()Retrieves the IP address associated with the ban entry.reason()Returns the reason associated with this IP ban entry.source()Returns the source of the IP ban entry.
-
Method Details
-
ip
String ip()Retrieves the IP address associated with the ban entry.- Returns:
- The IP address as a string.
-
source
String source()Returns the source of the IP ban entry.- Returns:
- the source of the IP ban entry
-
created
Date created()Returns the date when the entry was created.- Returns:
- the date when the entry was created
-
expires
Object expires()Returns the expiration date/time of the ban entry.- Returns:
- The expiration date/time of the ban entry.
-
reason
String reason()Returns the reason associated with this IP ban entry.- Returns:
- the reason
-