Code example for HttpTransportMetricsImpl

0
 
    /** 
     * @since 4.1 
     */ 
    protected HttpTransportMetricsImpl createTransportMetrics() {
        return new HttpTransportMetricsImpl();
    } 
 
    /** 
     * @since 4.1 
     */ 
    protected HttpConnectionMetricsImpl createConnectionMetrics(
            final HttpTransportMetrics inTransportMetric,
            final HttpTransportMetrics outTransportMetric) {
        return new HttpConnectionMetricsImpl(inTransportMetric, outTransportMetric);
    } 
 
    public int getStatus() { 
        return this.status;
    }