io.github.yawenok.apns.http2.config.ProxyConfig Maven / Gradle / Ivy
package io.github.yawenok.apns.http2.config;
import io.github.yawenok.apns.http2.enums.proxy.ProxyMode;
public class ProxyConfig {
private final ProxyMode proxyMode;
private final String host;
private final int port;
public ProxyConfig(final ProxyMode proxyMode, final String host, final int port) {
this.proxyMode = proxyMode;
this.host = host;
this.port = port;
}
public ProxyMode getProxyMode() {
return proxyMode;
}
public String getHost() {
return host;
}
public int getPort() {
return port;
}
}