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 java.lang.Object implements org.springframework.http.client.ClientHttpRequestInterceptor
-
-
Constructor Summary
Constructors Constructor Description SentrySpanClientHttpRequestInterceptor(@NotNull io.sentry.IHub hub)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @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)
-
-
-
Method Detail
-
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 java.io.IOException
- Specified by:
intercept
in interfaceorg.springframework.http.client.ClientHttpRequestInterceptor
- Throws:
java.io.IOException
-
-