public class HttpRequestAuthorization extends Object
| Constructor and Description |
|---|
HttpRequestAuthorization() |
| Modifier and Type | Method and Description |
|---|---|
static void |
authorize(org.apache.http.client.methods.HttpRequestBase request,
Neo4jCredentials credentials)
Sets the authorization header on the request, if credentials are present.
|
public static void authorize(org.apache.http.client.methods.HttpRequestBase request,
Neo4jCredentials credentials)
request - The HttpRequest that may need an auth header.Copyright © 2015 Neo Technology, Inc.. All rights reserved.