Top Description Methods
io.micrometer.tracing.http

public Interface Response

Known Direct Subinterfaces
io.micrometer.tracing.http.HttpResponse
Annotations
@Deprecated
Imports
io.micrometer.common.lang.Nullable, io.micrometer.observation.transport.Kind, java.util.Collection

Deprecated

scheduled for removal in 1.4.0

This API is taken from OpenZipkin Brave.

Abstract response type used for parsing and sampling.

Authors
OpenZipkin Brave Authors, Marcin Grzejszczak
Since
1.10.0

Method Summary

Modifier and TypeMethod and Description
public Throwable

Returns:

exception that occurred or null if there was none.
error
()

Returns the exception.

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 response
kind
()

Returns the transport kind.

public Request

Returns:

corresponding request
request
()

Deprecated as a consequence of Request being deprecated.
Returns the HTTP request.
public Object

Returns:

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

Returns the underlying response object.

Method Detail

errorback to summary
public Throwable error()

Returns the exception.

Returns:Throwable

exception that occurred or null if there was none.

Annotations
@Nullable
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 response

requestback to summary
public Request request()

Deprecated

as a consequence of Request being deprecated. See corresponding docs for further information.

Returns the HTTP request.

Returns:Request

corresponding request

Annotations
@Nullable
unwrapback to summary
public Object unwrap()

Returns the underlying response object.

Returns:Object

the underlying response object or null if there is none.