JAL-3615 used gzip endpoints for Pfam and Rfam
[jalview.git] / src / jalview / ws / dbsources / Rfam.java
index b12f107..dba3e31 100644 (file)
@@ -32,9 +32,14 @@ import com.stevesoft.pat.Regex;
  */
 abstract public class Rfam extends Xfam
 {
-  private static final String RFAM_BASEURL_KEY = "RFAM_BASEURL";
+  static final String RFAM_BASEURL_KEY = "RFAM_BASEURL";
 
-  private static final String DEFAULT_RFAM_BASEURL = "http://rfam.xfam.org";
+  private static final String DEFAULT_RFAM_BASEURL = "https://rfam.xfam.org";
+
+  /*
+   * append to URLs to retrieve as a gzipped file
+   */
+  public static final String GZIPPED = "?gz=1&download=1";
 
   @Override
   protected String getURLPrefix()