Interface Response
- All Known Subinterfaces:
HttpClientResponse,HttpResponse,HttpServerResponse
public interface Response
This API is taken from OpenZipkin Brave.
Abstract response type used for parsing and sampling.
- Since:
- 3.0.0
- Author:
- OpenZipkin Brave Authors, Marcin Grzejszczak
-
Method Summary
-
Method Details
-
headerNames
Collection<String> headerNames()- Returns:
- list of header names.
-
spanKind
Span.Kind spanKind()- Returns:
- The remote
Span.Kinddescribing the direction and type of the request.
-
request
- Returns:
- corresponding request
-
error
- Returns:
- exception that occurred or
nullif there was none.
-
unwrap
Object unwrap()- Returns:
- the underlying request object or
nullif there is none.
-