Package io.sentry

Class SentryTraceHeader


  • public final class SentryTraceHeader
    extends java.lang.Object
    Represents HTTP header "sentry-trace".
    • Field Detail

      • SENTRY_TRACE_HEADER

        public static final java.lang.String SENTRY_TRACE_HEADER
        See Also:
        Constant Field Values
    • Method Detail

      • getName

        @NotNull
        public @NotNull java.lang.String getName()
      • getValue

        @NotNull
        public @NotNull java.lang.String getValue()
      • getTraceId

        @NotNull
        public @NotNull SentryId getTraceId()
      • getSpanId

        @NotNull
        public @NotNull SpanId getSpanId()
      • isSampled

        @Nullable
        public @Nullable java.lang.Boolean isSampled()