| Package | Description |
|---|---|
| org.digitalmediaserver.crowdin.api |
| Modifier and Type | Method and Description |
|---|---|
static CrowdinAPI.HTTPMethod |
CrowdinAPI.HTTPMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrowdinAPI.HTTPMethod[] |
CrowdinAPI.HTTPMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static <T,V> T |
CrowdinAPI.sendRequest(org.apache.http.impl.client.CloseableHttpClient httpClient,
CrowdinAPI.HTTPMethod method,
String function,
Map<String,String> parameters,
Collection<org.apache.http.Header> headers,
String token,
V payload,
org.apache.http.entity.ContentType payloadContentType,
Class<T> clazz,
org.apache.maven.plugin.logging.Log logger)
Sends a HTTP request to the Crowdin API using the specified "function"
and the specified parameters.
|
static <T,V> T |
CrowdinAPI.sendRequest(org.apache.http.impl.client.CloseableHttpClient httpClient,
CrowdinAPI.HTTPMethod method,
URI uri,
Map<String,String> parameters,
Collection<org.apache.http.Header> headers,
String token,
V payload,
org.apache.http.entity.ContentType payloadContentType,
Class<T> clazz,
org.apache.maven.plugin.logging.Log logger)
Sends a HTTP request to the specified
URI using the specified
parameters. |
static org.apache.http.client.methods.CloseableHttpResponse |
CrowdinAPI.sendStreamRequest(org.apache.http.impl.client.CloseableHttpClient httpClient,
CrowdinAPI.HTTPMethod method,
URI uri,
String token,
org.apache.maven.plugin.logging.Log logger)
Sends a HTTP request where the response itself is returned so that is can
be read as an
InputStream, to the specified URI using the
specified parameters. |
Copyright © 2024. All rights reserved.