Revision 52518
Added by Miriam Baglioni almost 6 years ago
ConnectorInterface.java | ||
---|---|---|
1 |
package eu.dnetlib.data.collector.plugins.HTTPWithFileName;
|
|
1 |
package eu.dnetlib.data.collector.plugins.httpfilename;
|
|
2 | 2 |
|
3 | 3 |
import eu.dnetlib.data.collector.rmi.CollectorServiceException; |
4 | 4 |
|
... | ... | |
7 | 7 |
*/ |
8 | 8 |
public interface ConnectorInterface { |
9 | 9 |
|
10 |
public void get(final String requestUrl) throws CollectorServiceException;
|
|
10 |
void get(final String requestUrl) throws CollectorServiceException; |
|
11 | 11 |
|
12 |
public String getResponse();
|
|
12 |
String getResponse(); |
|
13 | 13 |
|
14 |
public boolean isStatusOk();
|
|
14 |
boolean isStatusOk(); |
|
15 | 15 |
|
16 | 16 |
|
17 |
public boolean responseTypeContains(String string);
|
|
17 |
boolean responseTypeContains(String string); |
|
18 | 18 |
|
19 | 19 |
} |
Also available in: Unified diff
fix for package name (HTTPWithFileName -> httpfilename and fixed issue on iterator for HTTPWithFileNameCollectorIterable