src/main/java/com/github/markusbernhardt/proxy/search/browser/ie/IEProxyConfig.java
raw symbols SCIP| 1 | package com.github.markusbernhardt.proxy.search.browser.ie; |
| 2 | |
| 3 | /***************************************************************************** |
| 4 | * Proxy settings container used for the native methods. Will contain the |
| 5 | * Internet Explorer proxy settings as reported by windows WinHTTP API. |
| 6 | * |
| 7 | * @author Markus Bernhardt, Copyright 2016 |
| 8 | * @author Bernd Rosstauscher, Copyright 2009 |
| 9 | ****************************************************************************/ |
| 10 | |
| 11 | public class IEProxyConfig { |
| 12 | |
| 13 | private boolean autoDetect; |
| 14 | private String autoConfigUrl; |
| 15 | private String proxy; |
| 16 | private String proxyBypass; |
| 17 | |
| 18 | /************************************************************************* |
| 19 | * Constructor |
| 20 | * |
| 21 | * @param autoDetect |
| 22 | * flag is autodetect is active or not. |
| 23 | * @param autoConfigUrl |
| 24 | * the URL for a PAC script |
| 25 | * @param proxy |
| 26 | * the proxy server selected |
| 27 | * @param proxyBypass |
| 28 | * the proxy bypass address list. |
| 29 | ************************************************************************/ |
| 30 | |
| 31 | public IEProxyConfig(boolean autoDetect, String autoConfigUrl, String proxy, String proxyBypass) { |
| 32 | super(); |
| 33 | this.autoDetect = autoDetect; |
| 34 | this.autoConfigUrl = autoConfigUrl; |
| 35 | this.proxy = proxy; |
| 36 | this.proxyBypass = proxyBypass; |
| 37 | } |
| 38 | |
| 39 | /************************************************************************* |
| 40 | * @return Returns the autoDetect. |
| 41 | ************************************************************************/ |
| 42 | |
| 43 | public boolean isAutoDetect() { |
| 44 | return this.autoDetect; |
| 45 | } |
| 46 | |
| 47 | /************************************************************************* |
| 48 | * @return Returns the autoConfigUrl. |
| 49 | ************************************************************************/ |
| 50 | |
| 51 | public String getAutoConfigUrl() { |
| 52 | return this.autoConfigUrl; |
| 53 | } |
| 54 | |
| 55 | /************************************************************************* |
| 56 | * @return Returns the proxy. |
| 57 | ************************************************************************/ |
| 58 | |
| 59 | public String getProxy() { |
| 60 | return this.proxy; |
| 61 | } |
| 62 | |
| 63 | /************************************************************************* |
| 64 | * @return Returns the proxyBypass. |
| 65 | ************************************************************************/ |
| 66 | |
| 67 | public String getProxyBypass() { |
| 68 | return this.proxyBypass; |
| 69 | } |
| 70 | |
| 71 | } |