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

ec.gob.senescyt.sniese.commons.clients.ServicioFactory Maven / Gradle / Ivy

There is a newer version: 2.0.5
Show newest version
package ec.gob.senescyt.sniese.commons.clients;

import javax.validation.constraints.NotNull;

public class ServicioFactory {
    @NotNull
    private String dominio;
    @NotNull
    private String token;

    public ServicioFactory() {
        // Por Jackson
    }

    public ServicioFactory(String dominio, String token) {
        this.dominio = dominio;
        this.token = token;
    }

    public String getDominio() {
        return dominio;
    }

    public String getToken() {
        return token;
    }

    public String urlParaRecurso(String recurso) {
        return dominio + recurso;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy