io.github.dbstarll.utils.json.gson.JsonApiClient Maven / Gradle / Ivy
The newest version!
package io.github.dbstarll.utils.json.gson;
import com.google.gson.Gson;
import io.github.dbstarll.utils.net.api.ApiClient;
import org.apache.hc.client5.http.classic.HttpClient;
public abstract class JsonApiClient extends ApiClient {
protected JsonApiClient(final HttpClient httpClient, final boolean alwaysProcessEntity, final Gson gson) {
super(httpClient, alwaysProcessEntity);
setResponseHandlerFactory(new JsonResponseHandlerFactory(gson, alwaysProcessEntity));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy