*
* @return
*/
- public abstract boolean useGetRequest();
+ protected abstract boolean useGetRequest();
/**
* Return the desired value for the Content-Type request header
* @return
* @see https://github.com/Ensembl/ensembl-rest/wiki/HTTP-Headers
*/
- public abstract String getRequestMimeType();
+ protected abstract String getRequestMimeType();
/**
* Return the desired value for the Accept request header
* @return
* @see https://github.com/Ensembl/ensembl-rest/wiki/HTTP-Headers
*/
- public abstract String getResponseMimeType();
+ protected abstract String getResponseMimeType();
/**
* Tries to connect to Ensembl's REST 'ping' endpoint, and returns true if
* @return
* @throws IOException
*/
- public FileParse getSequenceReader(List<String> ids)
+ protected FileParse getSequenceReader(List<String> ids)
throws IOException
{
URL url = getUrl(ids);
*
* @return
*/
- public boolean isEnsemblAvailable()
+ protected boolean isEnsemblAvailable()
{
long now = System.currentTimeMillis();
boolean retest = now - lastCheck > RETEST_INTERVAL;