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 |
setTraceRequestPayload(boolean traceRequestPayload) |
void |
setTraceResponsePayload(boolean traceResponsePayload) |
public void setAccessLogger(AccessLogger accessLogger)
public void setTraceRequestPayload(boolean traceRequestPayload)
public void setTraceResponsePayload(boolean traceResponsePayload)
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.