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)
| 338 | * @return reference to self |
| 339 | */ |
| 340 | public Proxy setSocksUsername(String username) { |
| 341 | verifyProxyTypeCompatibility(ProxyType.MANUAL); |
| 342 | this.proxyType = ProxyType.MANUAL; |
| 343 | this.socksUsername = username; |
| 344 | return this; |
| 345 | } |
| 346 | |
| 347 | /** |
| 348 | * Gets the SOCKS proxy's password. Supported by SOCKS v5 and above. |