com.eg.agent.android.measurement.consumer.HttpErrorHarvestingConsumer Maven / Gradle / Ivy
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