Package kong.unirest.core
Interface UniMetric
- All Known Implementing Classes:
NoopMetric
public interface UniMetric
A UniMetric is a factory for producing a MetricContext this will be called just before
any Http Request
-
Method Summary
Modifier and TypeMethodDescriptionbegin
(HttpRequestSummary request) Factory method for a MetricContext
-
Method Details
-
begin
Factory method for a MetricContext- Parameters:
request
- A summary of the current Http Request about to be performed- Returns:
- a MetricContext for this request
-