Methods inherited from class java.lang.
Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public boolean isTrusted(
true if the proxy server is trusted, false otherwise.
remoteAddress - address of the proxy
true if the remote address is a trusted proxy
Set< String> getAddresses()
Returns the addresses of the trusted proxy servers, or an empty dry if there are none. Tries to load the
addresses from the cache first. If not in the cache, goes to the PropertyManager and loads from there.
Returns: addresses of the trusted proxies
public boolean addAddress(
Adds to the list of servers we trust. Pass an IP address in decimal dot format (eg. 192.168.3.2)
Allows IP addresses with subnets as well (eg. 192.168.3.0/24)
remoteAddress - host name or IP address
Returns: true if the addition was successful, false otherwise
Copyright © 2017 Atlassian. All rights reserved.