public class HttpAuthorization extends Object
| Constructor and Description |
|---|
HttpAuthorization() |
| Modifier and Type | Method and Description |
|---|---|
static void |
authorize(org.apache.http.client.methods.HttpRequestBase request,
Credentials credentials)
Sets the authorisation header on the request, if credentials are present.
|
public static void authorize(org.apache.http.client.methods.HttpRequestBase request,
Credentials credentials)
request - The HttpRequest that may need an auth header.credentials - the Credentials with which to authorise the sessionCopyright © 2017 Neo Technology, Inc.. All rights reserved.