Class RestOutInterceptor
java.lang.Object
kieker.monitoring.probe.spring.flow.RestOutInterceptor
- All Implemented Interfaces:
org.springframework.http.client.ClientHttpRequestInterceptor
public class RestOutInterceptor
extends java.lang.Object
implements org.springframework.http.client.ClientHttpRequestInterceptor
Allows to monitor outgoing REST requests.
- Since:
- 1.13
-
Constructor Summary
Constructors Constructor Description RestOutInterceptor()Create a REST output interceptor. -
Method Summary
Modifier and Type Method Description org.springframework.http.client.ClientHttpResponseintercept(org.springframework.http.HttpRequest request, byte[] body, org.springframework.http.client.ClientHttpRequestExecution execution)
-
Constructor Details
-
RestOutInterceptor
public RestOutInterceptor()Create a REST output interceptor.
-
-
Method Details
-
intercept
public org.springframework.http.client.ClientHttpResponse intercept(org.springframework.http.HttpRequest request, byte[] body, org.springframework.http.client.ClientHttpRequestExecution execution) throws java.io.IOException- Specified by:
interceptin interfaceorg.springframework.http.client.ClientHttpRequestInterceptor- Throws:
java.io.IOException
-