Package io.sentry.openfeign
Class SentryFeignClient
java.lang.Object
io.sentry.openfeign.SentryFeignClient
- All Implemented Interfaces:
feign.Client
A Feign client that creates a span around each executed HTTP call.
-
Nested Class Summary
Nested classes/interfaces inherited from interface feign.Client
feign.Client.Default, feign.Client.Proxied
-
Constructor Summary
ConstructorDescriptionSentryFeignClient
(@NotNull feign.Client delegate, @NotNull IHub hub, @Nullable SentryFeignClient.BeforeSpanCallback beforeSpan) -
Method Summary
Modifier and TypeMethodDescriptionfeign.Response
execute
(@NotNull feign.Request request, feign.Request.Options options)
-
Constructor Details
-
SentryFeignClient
public SentryFeignClient(@NotNull @NotNull feign.Client delegate, @NotNull @NotNull IHub hub, @Nullable @Nullable SentryFeignClient.BeforeSpanCallback beforeSpan)
-
-
Method Details
-
execute
public feign.Response execute(@NotNull @NotNull feign.Request request, @NotNull feign.Request.Options options) throws IOException - Specified by:
execute
in interfacefeign.Client
- Throws:
IOException
-