Specifies a username for the SOCKS proxy. Supported by SOCKS v5 and above. @param username username for the SOCKS proxy @return reference to self
(String username)
| 370 | * @return reference to self |
| 371 | */ |
| 372 | public Proxy setSocksUsername(String username) { |
| 373 | verifyProxyTypeCompatibility(ProxyType.MANUAL); |
| 374 | this.proxyType = ProxyType.MANUAL; |
| 375 | this.socksUsername = username; |
| 376 | return this; |
| 377 | } |
| 378 | |
| 379 | /** |
| 380 | * Gets the SOCKS proxy's password. Supported by SOCKS v5 and above. |