Class MdcHttpRequestInterceptor
java.lang.Object
org.qubership.atp.auth.springbootstarter.security.interceptors.MdcHttpRequestInterceptor
- All Implemented Interfaces:
org.springframework.http.client.ClientHttpRequestInterceptor
public class MdcHttpRequestInterceptor
extends Object
implements org.springframework.http.client.ClientHttpRequestInterceptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.client.ClientHttpResponseintercept(org.springframework.http.HttpRequest request, byte[] body, org.springframework.http.client.ClientHttpRequestExecution execution)
-
Constructor Details
-
MdcHttpRequestInterceptor
-
-
Method Details
-
intercept
@NotNull public org.springframework.http.client.ClientHttpResponse intercept(@NotNull org.springframework.http.HttpRequest request, @NotNull byte[] body, org.springframework.http.client.ClientHttpRequestExecution execution) throws IOException - Specified by:
interceptin interfaceorg.springframework.http.client.ClientHttpRequestInterceptor- Throws:
IOException
-