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

io.alauda.client.V1Client Maven / Gradle / Ivy

package io.alauda.client;

import io.alauda.http.AlaudaHttp;
import okhttp3.HttpUrl;
import org.slf4j.Logger;

abstract class V1Client {
    private String prefix;
    IAlaudaClient client;
    AlaudaHttp httpClient;

    V1Client(IAlaudaClient client, AlaudaHttp httpClient) {
        this.client = client;
        this.httpClient = httpClient;
    }

    public HttpUrl buildURL(String segment) {
        return client.buildURL(segment);
    }

    String prefixURL() {
        return httpClient.prefixURL(prefix, client.getNamespace());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy