All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.eg.agent.android.measurement.consumer.HttpErrorHarvestingConsumer Maven / Gradle / Ivy

There is a newer version: 2.1.3
Show newest version
package com.eg.agent.android.measurement.consumer;


import com.eg.agent.android.harvest.Harvest;
import com.eg.agent.android.harvest.HttpError;
import com.eg.agent.android.measurement.Measurement;
import com.eg.agent.android.measurement.MeasurementType;
import com.eg.agent.android.measurement.http.HttpErrorMeasurement;

public class HttpErrorHarvestingConsumer extends BaseMeasurementConsumer {
    public HttpErrorHarvestingConsumer() {
        super(MeasurementType.HttpError);
    }

    public void consumeMeasurement(Measurement measurement) {
        Harvest.addHttpError(new HttpError((HttpErrorMeasurement) measurement));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy