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