Package brave.http

Class HttpClientRequest

    • Constructor Detail

      • HttpClientRequest

        public HttpClientRequest()
    • Method Detail

      • spanKind

        public final brave.Span.Kind spanKind()
        Specified by:
        spanKind in class brave.Request
      • header

        public abstract void header​(String name,
                                    String value)
        Sets a request header with the indicated name. null values are unsupported.

        This is only used when injecting a trace context as internally implemented by HttpClientHandler. Calls during sampling or parsing are invalid and may be ignored by instrumentation.

        Since:
        5.7
        See Also:
        SETTER