DefaultBotOptions instead@Deprecated public class BotOptions extends DefaultBotOptions
| Constructor and Description |
|---|
BotOptions()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.client.config.RequestConfig |
getRequestConfig()
Deprecated.
|
boolean |
hasProxy()
Deprecated.
|
void |
setProxyHost(String proxyHost)
Deprecated.
Use
DefaultBotOptions.setRequestConfig(RequestConfig) instead to configure custom request config |
void |
setProxyPort(int proxyPort)
Deprecated.
Use
DefaultBotOptions.setRequestConfig(RequestConfig) instead to configure custom request config |
getMaxThreads, setMaxThreads, setRequestConfigpublic boolean hasProxy()
public void setProxyHost(String proxyHost)
DefaultBotOptions.setRequestConfig(RequestConfig) instead to configure custom request configproxyHost - Host for the proxypublic void setProxyPort(int proxyPort)
DefaultBotOptions.setRequestConfig(RequestConfig) instead to configure custom request configproxyPort - Port for the proxypublic org.apache.http.client.config.RequestConfig getRequestConfig()
getRequestConfig in class DefaultBotOptionsCopyright © 2016. All rights reserved.