Package org.intermine.api.mines
Interface MineRequester
-
- All Known Implementing Classes:
HttpRequester
public interface MineRequester
The type of objects that can request data from mines.- Author:
- Alex Kalderimis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
configure(java.util.Properties requesterConfig)
Accept configuration provided in the form of properties.java.io.BufferedReader
requestURL(java.lang.String urlString, ContentType contentType)
Request information as encoded in a string.
-
-
-
Method Detail
-
requestURL
java.io.BufferedReader requestURL(java.lang.String urlString, ContentType contentType)
Request information as encoded in a string.- Parameters:
urlString
- The data to request.contentType
- The content type.- Returns:
- A reader over the data.
-
configure
void configure(java.util.Properties requesterConfig)
Accept configuration provided in the form of properties.- Parameters:
requesterConfig
- The configuration.
-
-