public static class ConfigClientRequestTemplateFactory.GenericRequestHeaderInterceptor extends Object implements org.springframework.http.client.ClientHttpRequestInterceptor
| Constructor and Description |
|---|
GenericRequestHeaderInterceptor(Map<String,String> headers) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,String> |
getHeaders() |
org.springframework.http.client.ClientHttpResponse |
intercept(org.springframework.http.HttpRequest request,
byte[] body,
org.springframework.http.client.ClientHttpRequestExecution execution) |
public org.springframework.http.client.ClientHttpResponse intercept(org.springframework.http.HttpRequest request,
byte[] body,
org.springframework.http.client.ClientHttpRequestExecution execution)
throws IOException
intercept in interface org.springframework.http.client.ClientHttpRequestInterceptorIOExceptionCopyright © 2022 Pivotal Software, Inc.. All rights reserved.