public class ConfigReseedHelper extends HelperBase
_context, _log, _out, CHECKED, PROP_ADVANCED, SELECTED| Constructor and Description |
|---|
ConfigReseedHelper()Create a new helper for reseed configuration. |
| Modifier and Type | Method and Description |
|---|---|
String | getAuth()Retrieve whether proxy authentication is enabled. |
String | getEnable()Retrieve whether proxy reseeding is enabled. |
String | getHost()Retrieve the configured proxy host for reseeding. |
String | getNofilter_password()Retrieve the configured proxy password for reseeding. |
String | getNofilter_spassword()Retrieve the configured SSL proxy password for reseeding. |
String | getPort()Retrieve the configured proxy port for reseeding. |
String | getReseedURL()Retrieve the configured reseed URLs as a newline-separated string. |
String | getSauth()Retrieve whether SSL proxy authentication is enabled. |
String | getShost()Retrieve the configured SSL proxy host for reseeding. |
String | getSport()Retrieve the configured SSL proxy port for reseeding. |
String | getSusername()Retrieve the configured SSL proxy username for reseeding. |
String | getUsername()Retrieve the configured proxy username for reseeding. |
String | modeChecked(int mode)Check whether the given SSL mode matches the current configuration. |
String | pmodeChecked(int mode)Check whether the given proxy mode matches the current proxy configuration. |
boolean | shouldShowHTTPProxy()Determine if any HTTP reseed URLs are configured. |
boolean | shouldShowHTTPSProxy()Determine if any HTTPS reseed URLs are configured. |
boolean | shouldShowSelect()Determine if both HTTP and HTTPS reseed URLs are available. |
_t, _t, _t, _x, getChecked, isAdvanced, ngettext, setContextId, storeWriterpublic ConfigReseedHelper()
public String getAuth()
public String getEnable()
public String getHost()
public String getNofilter_password()
public String getNofilter_spassword()
public String getPort()
public String getReseedURL()
public String getSauth()
public String getShost()
public String getSport()
public String getSusername()
public String getUsername()
public String modeChecked(int mode)
mode - the mode to check (0=optional, 1=required, 2=disabled)public String pmodeChecked(int mode)
mode - the proxy mode to check (0=disabled, 1=HTTP, 2=SOCKS4, 3=SOCKS5, 4=INTERNAL)public boolean shouldShowHTTPProxy()
public boolean shouldShowHTTPSProxy()
public boolean shouldShowSelect()