Class SentrySpanClientHttpRequestInterceptor

  • All Implemented Interfaces:
    org.springframework.http.client.ClientHttpRequestInterceptor

    public class SentrySpanClientHttpRequestInterceptor
    extends java.lang.Object
    implements org.springframework.http.client.ClientHttpRequestInterceptor
    • 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)  
      • Methods inherited from class java.lang.Object

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

      • SentrySpanClientHttpRequestInterceptor

        public SentrySpanClientHttpRequestInterceptor​(@NotNull
                                                      @NotNull io.sentry.IHub hub)
    • 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 interface org.springframework.http.client.ClientHttpRequestInterceptor
        Throws:
        java.io.IOException