public class ConfigClientRequestTemplateFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigClientRequestTemplateFactory.GenericRequestHeaderInterceptor
Adds the provided headers to the request.
|
| Constructor and Description |
|---|
ConfigClientRequestTemplateFactory(org.apache.commons.logging.Log log,
ConfigClientProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAuthorizationToken(org.springframework.http.HttpHeaders httpHeaders,
String username,
String password) |
org.springframework.web.client.RestTemplate |
create() |
org.apache.commons.logging.Log |
getLog() |
ConfigClientProperties |
getProperties() |
public ConfigClientRequestTemplateFactory(org.apache.commons.logging.Log log,
ConfigClientProperties properties)
public org.apache.commons.logging.Log getLog()
public ConfigClientProperties getProperties()
public org.springframework.web.client.RestTemplate create()
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.