public class FirefoxProxySearchStrategy extends Object implements ProxySearchStrategy
.mozilla/firefox/(profile)/ folder.
See Mozilla_Networking_Preferences for an explanation of the proxy settings.The following settings are extracted from this file:
Some generic settings:Note that if there are more than one profile the first profile found will be used.
| Constructor and Description |
|---|
FirefoxProxySearchStrategy()
ProxySelector
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the printable name of the search strategy.
|
ProxySelector |
getProxySelector()
Loads the proxy settings and initializes a proxy selector for the firefox
proxy settings.
|
Properties |
readSettings()
Reads the settings file and stores all settings in a Properties map.
|
public FirefoxProxySearchStrategy()
ProxySelector.ProxySelector()public ProxySelector getProxySelector() throws ProxyException
getProxySelector in interface ProxySearchStrategyProxyException - on file reading error.public String getName()
getName in interface ProxySearchStrategypublic Properties readSettings() throws ProxyException
ProxyException - on read error.Copyright © 2022. All rights reserved.