Class SentrySpanClientHttpRequestInterceptor

java.lang.Object
io.sentry.spring.tracing.SentrySpanClientHttpRequestInterceptor
All Implemented Interfaces:
org.springframework.http.client.ClientHttpRequestInterceptor

public class SentrySpanClientHttpRequestInterceptor extends Object implements org.springframework.http.client.ClientHttpRequestInterceptor
  • Constructor Summary

    Constructors
    Constructor
    Description
    SentrySpanClientHttpRequestInterceptor(@NotNull io.sentry.IHub hub)
     
  • Method Summary

    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 Details

    • SentrySpanClientHttpRequestInterceptor

      public SentrySpanClientHttpRequestInterceptor(@NotNull @NotNull io.sentry.IHub hub)
  • Method Details

    • 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 IOException
      Specified by:
      intercept in interface org.springframework.http.client.ClientHttpRequestInterceptor
      Throws:
      IOException