|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IpRestrictorInterface
IP Restrictor interface
Field Summary | |
---|---|
static String |
ROLE
|
Method Summary | |
---|---|
void |
addEntry(String str)
Add new entry |
void |
clear()
Clear all entries. |
Collection |
getAllEntries()
Get all entries |
boolean |
hasPermission(InetAddress addr)
Check IP permission. |
boolean |
isAllowIp()
Allow/ban the listed IPs flag. |
void |
reload()
Reload data from store. |
void |
removeEntry(String str)
Remove entry |
void |
save()
Save data into store. |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
boolean isAllowIp()
void reload() throws IOException
IOException
void save() throws IOException
IOException
boolean hasPermission(InetAddress addr)
void clear()
void addEntry(String str)
void removeEntry(String str)
Collection getAllEntries()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |