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

estonlabs.cxtl.common.http.MetricsLogger Maven / Gradle / Ivy

There is a newer version: 1.4.14
Show newest version
package estonlabs.cxtl.common.http;

/**
 * Used bt the rst client to log metrics of the requests.
 */
public interface MetricsLogger {
    /**
     * A request that returns an expected response. Could be valid JSON but an API error
     * @param event - the req / resp event
     */
    void finishedSuccess(Event event);

    /**
     * Returns a failed response, this could be a http error or an API error.
     * @param event - the req / resp event
     */
    void finishedError(Event event);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy