Class HttpRequestInterceptor
java.lang.Object
com.github.mkopylec.charon.forwarding.interceptors.HttpRequestInterceptor
- All Implemented Interfaces:
org.springframework.http.client.ClientHttpRequestInterceptor
public class HttpRequestInterceptor
extends Object
implements org.springframework.http.client.ClientHttpRequestInterceptor
-
Constructor Summary
ConstructorsConstructorDescriptionHttpRequestInterceptor(String mappingName, RequestForwardingInterceptor requestForwardingInterceptor) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.client.ClientHttpResponseintercept(org.springframework.http.HttpRequest request, byte[] body, org.springframework.http.client.ClientHttpRequestExecution execution)
-
Constructor Details
-
HttpRequestInterceptor
public HttpRequestInterceptor(String mappingName, RequestForwardingInterceptor requestForwardingInterceptor)
-
-
Method Details
-
intercept
public org.springframework.http.client.ClientHttpResponse intercept(org.springframework.http.HttpRequest request, byte[] body, org.springframework.http.client.ClientHttpRequestExecution execution) - Specified by:
interceptin interfaceorg.springframework.http.client.ClientHttpRequestInterceptor
-