}
}
}
+
+ /**
+ * Add a known domain that implements access-control-allow-origin:* bh 2018
+ *
+ * @param defaultUniprotDomain
+ */
+ public static void addJ2SDirectDatabaseCall(String domain)
+ {
+
+ /**
+ * @j2sNative
+ *
+ * J2S.addDirectDatabaseCall(domain);
+ */
+ }
}
{
private static final String DEFAULT_UNIPROT_DOMAIN = "https://www.uniprot.org";
+ static {
+ Cache.addJ2SDirectDatabaseCall(DEFAULT_UNIPROT_DOMAIN);
+ }
+
private static FTSRestClientI instance = null;
public final String uniprotSearchEndpoint;
{
super();
uniprotSearchEndpoint = Cache.getDefault("UNIPROT_DOMAIN",
- DEFAULT_UNIPROT_DOMAIN) + "/uniprot/";
+ DEFAULT_UNIPROT_DOMAIN) + "/uniprot/";
}
@Override