|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TrustedProxyManager
Manages the list of trusted proxies.
Method Summary | |
---|---|
boolean |
addAddress(String remoteAddress)
Adds a remote address to the list of those trusted to act as proxies. |
Set<String> |
getAddresses()
Returns the addresses of all the trusted proxy servers, or an empty set if there are none. |
boolean |
isTrusted(String remoteAddress)
Returns true if the address represents a configured trusted proxy. |
void |
removeAddress(String remoteAddress)
Removes the address of the proxy from the list of trusted proxies. |
Method Detail |
---|
boolean isTrusted(String remoteAddress)
remoteAddress
- address of the proxy server
Set<String> getAddresses()
boolean addAddress(String remoteAddress)
remoteAddress
- address of a trusted proxy
remoteAddress
was added, false otherwise.void removeAddress(String remoteAddress)
remoteAddress
- address of the proxy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |