public class SpringRestTemplateInterceptor extends Object implements org.springframework.http.client.ClientHttpRequestInterceptor
RestTemplate
.Constructor and Description |
---|
SpringRestTemplateInterceptor() |
Modifier and Type | Method and Description |
---|---|
protected String |
getRequestName(org.springframework.http.HttpRequest httpRequest) |
org.springframework.http.client.ClientHttpResponse |
intercept(org.springframework.http.HttpRequest httpRequest,
byte[] body,
org.springframework.http.client.ClientHttpRequestExecution execution) |
public org.springframework.http.client.ClientHttpResponse intercept(org.springframework.http.HttpRequest httpRequest, byte[] body, org.springframework.http.client.ClientHttpRequestExecution execution) throws IOException
intercept
in interface org.springframework.http.client.ClientHttpRequestInterceptor
IOException
protected String getRequestName(org.springframework.http.HttpRequest httpRequest)
Copyright © 2008–2019 Emeric Vernat. All rights reserved.