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

netflix.ocelli.rxnetty.HttpClientHolder Maven / Gradle / Ivy

package netflix.ocelli.rxnetty;

import io.reactivex.netty.protocol.http.client.HttpClient;
import io.reactivex.netty.protocol.http.client.HttpClientRequest;
import io.reactivex.netty.protocol.http.client.HttpClientResponse;

/**
 * An extension of {@link MetricAwareClientHolder} for HTTP.
 *
 * @author Nitesh Kant
 */
public class HttpClientHolder extends MetricAwareClientHolder, HttpClientResponse, HttpClient, HttpMetricListener> {

    public HttpClientHolder(HttpClient client) {
        super(client, new HttpMetricListener());
    }

    @Override
    public HttpMetricListener getListener() {
        return super.getListener();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy