class ResponseCodeSupplier implements Supplier<Map<String, Integer>> {

    @Override
    public Map<String, Integer> get() {
        resetAggregates();

        if (statusMetricType == COUNTER) {
            updateFromMetrics(metrics.getCounters(prefixFilter));
        } else if (statusMetricType == METER) {
            updateFromMetrics(metrics.getMeters(prefixFilter));
        }

        addAggregatesToMap(responseCodes);

        return responseCodes;
    }

      ResponseCodeSupplier(MetricRegistry metrics, StatusMetricType statusMetricType, String prefix, boolean includeNonErrorCodes);

}