public class BaseHttpClientGenerator extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BaseHttpClientGenerator.Configuration |
| Constructor and Description |
|---|
BaseHttpClientGenerator(BaseHttpClientGenerator.Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
String |
buildBase64Credentials()
For client requests that need to send a Basic authorization header, this builds the
base-64 encoding of the username and password that is needed for that header.
|
BaseHttpClientGenerator.Configuration |
getConfiguration() |
com.squareup.okhttp.OkHttpClient |
getHttpClient() |
public BaseHttpClientGenerator(BaseHttpClientGenerator.Configuration configuration)
public com.squareup.okhttp.OkHttpClient getHttpClient()
public BaseHttpClientGenerator.Configuration getConfiguration()
public String buildBase64Credentials()
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.