| Package | Description |
|---|---|
| de.gerdiproject.harvest.utils.data |
This package contains classes for reading and writing data to- and from disk, as well as classes
for retrieving data from the web.
|
| de.gerdiproject.harvest.utils.data.enums |
This package contains enumerations of data retrieval utilities.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<String>> |
HttpRequester.getRestHeader(RestRequestType method,
String url,
String body)
Sends a REST request with a plain-text body and returns the header
fields.
|
Map<String,List<String>> |
HttpRequester.getRestHeader(RestRequestType method,
String url,
String body,
String authorization,
String contentType)
Sends an authorized REST request with a specified body and returns the
header fields.
|
Map<String,List<String>> |
WebDataRetriever.getRestHeader(RestRequestType method,
String url,
String body,
String authorization,
String contentType)
Sends an authorized REST request with a specified body and returns the
header fields.
|
String |
HttpRequester.getRestResponse(RestRequestType method,
String url,
String body)
Sends an REST request with a plain-text body.
|
String |
HttpRequester.getRestResponse(RestRequestType method,
String url,
String body,
String authorization,
String contentType)
Sends an authorized REST request with a specified body and returns the
response as a string.
|
String |
WebDataRetriever.getRestResponse(RestRequestType method,
String url,
String body,
String authorization,
String contentType)
Sends an authorized REST request with a specified body and returns the
response as a string.
|
HttpURLConnection |
WebDataRetriever.sendWebRequest(RestRequestType method,
String urlString,
String body,
String authorization,
String contentType,
int retries)
Sends a REST request with a specified body and returns the connection.
|
| Modifier and Type | Method and Description |
|---|---|
static RestRequestType |
RestRequestType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestRequestType[] |
RestRequestType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2017–2019. All rights reserved.