Top Description Methods
io.micrometer.tracing.http

public Interface Request

Known Direct Subinterfaces
io.micrometer.tracing.http.HttpRequest
Annotations
@Deprecated
Imports
io.micrometer.observation.transport.Kind, java.util.Collection

Deprecated

scheduled for removal in 1.4.0

This API is taken from OpenZipkin Brave.

Abstract request type used for parsing and sampling.

Authors
OpenZipkin Brave Authors, Marcin Grzejszczak
Since
1.10.0

Method Summary

Modifier and TypeMethod and Description
public Collection<String>

Returns:

collection of header names
headerNames
()

Returns the header names.

public Kind

Returns:

the remote kind describing the direction and type of the request
kind
()

Returns the transport kind.

public Object

Returns:

the underlying request object or null if there is none
unwrap
()

Returns the underlying request object.

Method Detail

headerNamesback to summary
public Collection<String> headerNames()

Returns the header names.

Returns:Collection<String>

collection of header names

kindback to summary
public Kind kind()

Returns the transport kind.

Returns:Kind

the remote kind describing the direction and type of the request

unwrapback to summary
public Object unwrap()

Returns the underlying request object.

Returns:Object

the underlying request object or null if there is none