io.github.yawenok.fcm.client.proxy.ProxyConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fcm-client Show documentation
Show all versions of fcm-client Show documentation
FCM client for java!Based on HttpAsyncClient.
The newest version!
package io.github.yawenok.fcm.client.proxy;
public class ProxyConfig {
private final String host;
private final int port;
private final String username;
private final String password;
public ProxyConfig(final String host, final int port) {
this(host, port, null, null);
}
public ProxyConfig(final String host, final int port, final String username, final String password) {
this.host = host;
this.port = port;
this.username = username;
this.password = password;
}
public String getHost() {
return host;
}
public int getPort() {
return port;
}
public String getUsername() {
return username;
}
public String getPassword() {
return password;
}
}