
com.fedevitaledev.LogreClient.models.ProxyConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logre-client-java Show documentation
Show all versions of logre-client-java Show documentation
Simple tool to log directly on Logre.IO
package com.fedevitaledev.LogreClient.models;
import lombok.AllArgsConstructor;
import lombok.Data;
@Data
@AllArgsConstructor
public class ProxyConfig {
private String host;
private int port;
private String username;
private String password;
public ProxyConfig(String host, int port) {
this.host = host;
this.port = port;
}
public static ProxyConfig getProxy(String host, int port) {
return new ProxyConfig(host, port);
}
public static ProxyConfig getProxy(String host, int port, String username, String password) {
return new ProxyConfig(host, port, username, password);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy