Interface Propagation.RemoteGetter<R>

    • Method Detail

      • get

        @Nullable
        String get​(R request,
                   String fieldName)
        Gets the propagation field as a single value.

        Note: HTTP only permits multiple header fields with the same name when the format is a comma-separated list. An HTTP implementation of this method will assume presence of multiple values is valid and join them with a comma. See RFC 7230 for more.

        Specified by:
        get in interface Propagation.Getter<R,​String>
        Parameters:
        request - see {@link #}
        fieldName - typically a header name
        Returns:
        the value of the field or null
        Since:
        5.12