public void onHandled(Request request) {
        metric.set(ContainerMetrics.HANDLED_LATENCY.baseName(), request.timeElapsed(TimeUnit.MILLISECONDS), contextFor(request));
    }
Common HTTP request handler metrics code.

@author jonmv
@author bjorncs
container-core/src/main/java/com/yahoo/container/core/HandlerMetricContextUtil.java