com.atlassian.gadgets.renderer.internal.http
Class AppLinksWhitelist

java.lang.Object
  extended by com.atlassian.gadgets.renderer.internal.http.AppLinksWhitelist
All Implemented Interfaces:
Whitelist

public class AppLinksWhitelist
extends Object
implements Whitelist

Whitelist implementation which uses applinks as the whitelist source.


Constructor Summary
AppLinksWhitelist(com.atlassian.applinks.api.ApplicationLinkService appLinkService)
           
 
Method Summary
 boolean allows(URI uri)
          Returns true if the URI is in the whitelist of remote systems that are appropriate to make requests to, false otherwise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppLinksWhitelist

public AppLinksWhitelist(com.atlassian.applinks.api.ApplicationLinkService appLinkService)
Method Detail

allows

public boolean allows(URI uri)
Description copied from interface: Whitelist
Returns true if the URI is in the whitelist of remote systems that are appropriate to make requests to, false otherwise.

Specified by:
allows in interface Whitelist
Parameters:
uri - URI of the remote system to check for whitelisting
Returns:
true if the URI is in the whitelist, false otherwise


Copyright © 2012 Atlassian. All Rights Reserved.