public class RestClientLoggerInterceptor extends Object implements org.springframework.http.client.ClientHttpRequestInterceptor
| Constructor and Description |
|---|
RestClientLoggerInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.client.ClientHttpResponse |
intercept(org.springframework.http.HttpRequest request,
byte[] body,
org.springframework.http.client.ClientHttpRequestExecution execution) |
void |
setAccessLogger(AccessLogger accessLogger) |
void |
setTraceReceivedBody(boolean traceReceivedBody) |
void |
setTraceSentBody(boolean traceSentBody) |
public void setAccessLogger(AccessLogger accessLogger)
public void setTraceSentBody(boolean traceSentBody)
public void setTraceReceivedBody(boolean traceReceivedBody)
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 © 2020. All rights reserved.