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

dev.vality.woody.api.ClientBuilder Maven / Gradle / Ivy

There is a newer version: 2.0.8
Show newest version
package dev.vality.woody.api;

import dev.vality.woody.api.event.ClientEventListener;
import dev.vality.woody.api.generator.IdGenerator;

import java.net.URI;

public interface ClientBuilder {
    ClientBuilder withAddress(URI address);

    ClientBuilder withEventListener(ClientEventListener listener);

    ClientBuilder withIdGenerator(IdGenerator generator);

    ClientBuilder withNetworkTimeout(int timeout);

    URI getAddress();

    ClientEventListener getEventListener();

    IdGenerator getIdGenerator();

    int getNetworkTimeout();

     T build(Class iface);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy