| Package | Description |
|---|---|
| com.here.account.auth |
General purpose utility classes for providing OAuth1.0 and OAuth2.0 credentials.
|
| com.here.account.client |
A general purpose client class that talks to a Resource Server, in OAuth2-speak.
|
| com.here.account.http |
A pluggable HTTP abstraction used by the HERE Account client.
|
| com.here.account.http.apache |
An Apache HTTP Client Implementation of
com.here.account.http. |
| com.here.account.http.java |
A Java Implementation of
com.here.account.http. |
| Modifier and Type | Method and Description |
|---|---|
void |
OAuth2Authorizer.authorize(HttpProvider.HttpRequest httpRequest,
String method,
String url,
Map<String,List<String>> formParams)
Computes and adds a signature or token to the request as appropriate
for the authentication or authorization scheme.
|
void |
OAuth1Signer.authorize(HttpProvider.HttpRequest httpRequest,
String method,
String url,
Map<String,List<String>> formParams)
Computes and adds a signature or token to the request as appropriate
for the authentication or authorization scheme.
|
void |
NoAuthorizer.authorize(HttpProvider.HttpRequest httpRequest,
String method,
String url,
Map<String,List<String>> formParams)
Does nothing, as no Authorization header is required when using
instances of this class.
|
| Modifier and Type | Method and Description |
|---|---|
<T,U> T |
Client.sendMessage(HttpProvider.HttpRequest httpRequest,
Class<T> responseClass,
Class<U> errorResponseClass,
BiFunction<Integer,U,RuntimeException> newExceptionFunction)
Sends the requested HTTP Message to the Server.
|
| Modifier and Type | Method and Description |
|---|---|
HttpProvider.HttpRequest |
HttpProvider.getRequest(HttpProvider.HttpRequestAuthorizer httpRequestAuthorizer,
String method,
String url,
Map<String,List<String>> formParams)
Gets the RequestBuilder, with the specified method, url, and formParams.
|
HttpProvider.HttpRequest |
HttpProvider.getRequest(HttpProvider.HttpRequestAuthorizer httpRequestAuthorizer,
String method,
String url,
String requestBodyJson)
Gets the RequestBuilder, with the specified method, url, and requestBodyJson.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HttpProvider.HttpRequestAuthorizer.authorize(HttpProvider.HttpRequest httpRequest,
String method,
String url,
Map<String,List<String>> formParams)
Computes and adds a signature or token to the request as appropriate
for the authentication or authorization scheme.
|
HttpProvider.HttpResponse |
HttpProvider.execute(HttpProvider.HttpRequest httpRequest)
Execute the httpRequest.
|
| Modifier and Type | Method and Description |
|---|---|
HttpProvider.HttpRequest |
ApacheHttpClientProvider.getRequest(HttpProvider.HttpRequestAuthorizer httpRequestAuthorizer,
String method,
String url,
Map<String,List<String>> formParams)
Gets the RequestBuilder, with the specified method, url, and formParams.
|
HttpProvider.HttpRequest |
ApacheHttpClientProvider.getRequest(HttpProvider.HttpRequestAuthorizer httpRequestAuthorizer,
String method,
String url,
String requestBodyJson)
Gets the RequestBuilder, with the specified method, url, and requestBodyJson.
|
| Modifier and Type | Method and Description |
|---|---|
HttpProvider.HttpResponse |
ApacheHttpClientProvider.execute(HttpProvider.HttpRequest httpRequest) |
| Modifier and Type | Method and Description |
|---|---|
HttpProvider.HttpRequest |
JavaHttpProvider.getRequest(HttpProvider.HttpRequestAuthorizer httpRequestAuthorizer,
String method,
String url,
Map<String,List<String>> formParams) |
HttpProvider.HttpRequest |
JavaHttpProvider.getRequest(HttpProvider.HttpRequestAuthorizer httpRequestAuthorizer,
String method,
String url,
String requestBodyJson) |
| Modifier and Type | Method and Description |
|---|---|
HttpProvider.HttpResponse |
JavaHttpProvider.execute(HttpProvider.HttpRequest httpRequest) |
Copyright © 2023 HERE Europe B.V. All Rights Reserved.