Package io.sentry.spring.tracing
Class SentrySpanClientHttpRequestInterceptor
java.lang.Object
io.sentry.spring.tracing.SentrySpanClientHttpRequestInterceptor
- All Implemented Interfaces:
org.springframework.http.client.ClientHttpRequestInterceptor
public class SentrySpanClientHttpRequestInterceptor
extends Object
implements org.springframework.http.client.ClientHttpRequestInterceptor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull org.springframework.http.client.ClientHttpResponse
intercept
(@NotNull org.springframework.http.HttpRequest request, @org.jetbrains.annotations.NotNull byte[] body, @NotNull org.springframework.http.client.ClientHttpRequestExecution execution)
-
Constructor Details
-
SentrySpanClientHttpRequestInterceptor
public SentrySpanClientHttpRequestInterceptor(@NotNull @NotNull io.sentry.IHub hub)
-
-
Method Details
-
intercept
@NotNull public @NotNull org.springframework.http.client.ClientHttpResponse intercept(@NotNull @NotNull org.springframework.http.HttpRequest request, @NotNull @org.jetbrains.annotations.NotNull byte[] body, @NotNull @NotNull org.springframework.http.client.ClientHttpRequestExecution execution) throws IOException - Specified by:
intercept
in interfaceorg.springframework.http.client.ClientHttpRequestInterceptor
- Throws:
IOException
-