Class SentryFeignClient

  • All Implemented Interfaces:
    feign.Client

    public final class SentryFeignClient
    extends java.lang.Object
    implements feign.Client
    A Feign client that creates a span around each executed HTTP call.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  SentryFeignClient.BeforeSpanCallback  
      • Nested classes/interfaces inherited from interface feign.Client

        feign.Client.Default, feign.Client.Proxied
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      feign.Response execute​(@NotNull feign.Request request, feign.Request.Options options)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SentryFeignClient

        public SentryFeignClient​(@NotNull
                                 @NotNull feign.Client delegate,
                                 @NotNull
                                 @NotNull io.sentry.IHub hub,
                                 @Nullable
                                 @Nullable SentryFeignClient.BeforeSpanCallback beforeSpan)
    • Method Detail

      • execute

        public feign.Response execute​(@NotNull
                                      @NotNull feign.Request request,
                                      @NotNull
                                      feign.Request.Options options)
                               throws java.io.IOException
        Specified by:
        execute in interface feign.Client
        Throws:
        java.io.IOException