JAL-2656 JAL-3615 check response headers to test for gzipped url reply
[jalview.git] / src / jalview / ws / dbsources / Pfam.java
index d07bd14..47e66ac 100644 (file)
@@ -35,9 +35,14 @@ import com.stevesoft.pat.Regex;
  */
 abstract public class Pfam extends Xfam
 {
-  private static final String PFAM_BASEURL_KEY = "PFAM_BASEURL";
+  /*
+   * append to URLs to retrieve as a gzipped file
+   */
+  protected static final String GZIPPED = "/gzipped";
+
+  static final String PFAM_BASEURL_KEY = "PFAM_BASEURL";
 
-  private static final String DEFAULT_PFAM_BASEURL = "http://pfam.xfam.org";
+  private static final String DEFAULT_PFAM_BASEURL = "https://pfam.xfam.org";
 
   public Pfam()
   {