|
QuickServer v1.4.5 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.quickserver.util.xmlreader.IpFilterConfig
This class encapsulate the IP based Filter config.
The xml is <ip-filter>...</ip-filter>
Note: Make sure that access from 127.0.0.1 is allowed at
all times, else some of the QsAdmin command will fail.
Constructor Summary | |
IpFilterConfig()
|
Method Summary | |
void |
addClientIpAddress(java.lang.String clientIpAddress)
Adds a Client Ip Address to the list |
boolean |
getAllowAccess()
Returns the allow access flag. |
boolean |
getEnable()
Returns the IP filter enable flag. |
java.util.ArrayList |
getIpCollection()
Returns ClientIpAddress collection |
java.util.Iterator |
iterator()
|
void |
setAllowAccess(boolean enable)
Sets the allow access flag. |
void |
setEnable(boolean enable)
Sets the IP filter enable flag. |
java.lang.String |
toXML(java.lang.String pad)
Returns XML config of this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IpFilterConfig()
Method Detail |
public void addClientIpAddress(java.lang.String clientIpAddress)
public java.util.ArrayList getIpCollection()
public java.util.Iterator iterator()
public void setEnable(boolean enable)
true
| false
getEnable()
public boolean getEnable()
setEnable(boolean)
public void setAllowAccess(boolean enable)
true
| false
getAllowAccess()
public boolean getAllowAccess()
setAllowAccess(boolean)
public java.lang.String toXML(java.lang.String pad)
|
QuickServer v1.4.5 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |