io.github.yawenok.apns.http2.config.proxy.Socks4ProxyConfig Maven / Gradle / Ivy
package io.github.yawenok.apns.http2.config.proxy;
import io.github.yawenok.apns.http2.enums.proxy.ProxyMode;
import io.github.yawenok.apns.http2.config.ProxyConfig;
public class Socks4ProxyConfig extends ProxyConfig {
private final String username;
public Socks4ProxyConfig(final String host, final int port, final String username) {
super(ProxyMode.SOCKS4, host, port);
this.username = username;
}
public String getUsername() {
return username;
}
}