JAL-2656 JAL-3615 check response headers to test for gzipped url reply
[jalview.git] / src / jalview / ws / dbsources / Pfam.java
index 62e59c9..47e66ac 100644 (file)
@@ -35,7 +35,12 @@ 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 = "https://pfam.xfam.org";