ec.gob.senescyt.sniese.commons.clients.ServicioFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sniese-commons Show documentation
Show all versions of sniese-commons Show documentation
Librería que contiene clases de uso comun para sniese hechos en dropwizard
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