public class HeaderAddingHttpInterceptor extends Object implements org.springframework.http.client.ClientHttpRequestInterceptor
| Constructor and Description |
|---|
HeaderAddingHttpInterceptor(String headerKey,
String headerValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
org.springframework.http.client.ClientHttpResponse |
intercept(org.springframework.http.HttpRequest httpRequest,
byte[] bytes,
org.springframework.http.client.ClientHttpRequestExecution clientHttpRequestExecution) |
public org.springframework.http.client.ClientHttpResponse intercept(org.springframework.http.HttpRequest httpRequest,
byte[] bytes,
org.springframework.http.client.ClientHttpRequestExecution clientHttpRequestExecution)
throws IOException
intercept in interface org.springframework.http.client.ClientHttpRequestInterceptorIOExceptionCopyright © 2016 Pivotal Software, Inc.. All rights reserved.