LibreOffice Module ucbhelper (master) 1
|
Public Member Functions | |
InternetProxyDecider_Impl (const uno::Reference< uno::XComponentContext > &rxContext) | |
void | dispose () |
InternetProxyServer | getProxy (const OUString &rProtocol, const OUString &rHost, sal_Int32 nPort) const |
virtual void SAL_CALL | changesOccurred (const util::ChangesEvent &Event) override |
virtual void SAL_CALL | disposing (const lang::EventObject &Source) override |
Private Types | |
enum class | ProxyType { NoProxy , Automatic , Manual } |
typedef std::pair< WildCard, WildCard > | NoProxyListEntry |
Private Member Functions | |
bool | shouldUseProxy (std::u16string_view rHost, sal_Int32 nPort, bool bUseFullyQualified) const |
void | setNoProxyList (const OUString &rNoProxyList) |
Private Attributes | |
osl::Mutex | m_aMutex |
InternetProxyServer | m_aHttpProxy |
InternetProxyServer | m_aHttpsProxy |
InternetProxyServer | m_aFtpProxy |
const InternetProxyServer | m_aEmptyProxy |
ProxyType | m_nProxyType |
uno::Reference< util::XChangesNotifier > | m_xNotifier |
std::vector< NoProxyListEntry > | m_aNoProxyList |
HostnameCache | m_aHostnames |
Definition at line 123 of file proxydecider.cxx.
|
private |
Definition at line 135 of file proxydecider.cxx.
|
strongprivate |
Enumerator | |
---|---|
NoProxy | |
Automatic | |
Manual |
Definition at line 127 of file proxydecider.cxx.
|
explicit |
Definition at line 291 of file proxydecider.cxx.
References aArguments, ucbhelper::InternetProxyServer::aName, CONFIG_ROOT_KEY, FTP_PROXY_NAME_KEY, FTP_PROXY_PORT_KEY, ucbhelper::proxydecider_impl::getConfigInt32Value(), ucbhelper::proxydecider_impl::getConfigStringValue(), HTTP_PROXY_NAME_KEY, HTTP_PROXY_PORT_KEY, HTTPS_PROXY_NAME_KEY, HTTPS_PROXY_PORT_KEY, m_aFtpProxy, m_aHttpProxy, m_aHttpsProxy, m_nProxyType, m_xNotifier, NO_PROXY_LIST_KEY, ucbhelper::InternetProxyServer::nPort, PROXY_TYPE_KEY, and setNoProxyList().
|
overridevirtual |
Definition at line 704 of file proxydecider.cxx.
References ucbhelper::InternetProxyServer::aName, FTP_PROXY_NAME_KEY, FTP_PROXY_PORT_KEY, HTTP_PROXY_NAME_KEY, HTTP_PROXY_PORT_KEY, HTTPS_PROXY_NAME_KEY, HTTPS_PROXY_PORT_KEY, m_aFtpProxy, m_aHttpProxy, m_aHttpsProxy, m_aMutex, m_nProxyType, NO_PROXY_LIST_KEY, ucbhelper::InternetProxyServer::nPort, PROXY_TYPE_KEY, and setNoProxyList().
void ucbhelper::proxydecider_impl::InternetProxyDecider_Impl::dispose | ( | void | ) |
Definition at line 382 of file proxydecider.cxx.
References m_aMutex, and m_xNotifier.
|
overridevirtual |
Definition at line 796 of file proxydecider.cxx.
References m_aMutex, and m_xNotifier.
InternetProxyServer ucbhelper::proxydecider_impl::InternetProxyDecider_Impl::getProxy | ( | const OUString & | rProtocol, |
const OUString & | rHost, | ||
sal_Int32 | nPort | ||
) | const |
Definition at line 601 of file proxydecider.cxx.
References ucbhelper::InternetProxyServer::aName, Automatic, m_aEmptyProxy, m_aFtpProxy, m_aHostnames, m_aHttpProxy, m_aHttpsProxy, m_aMutex, m_aNoProxyList, m_nProxyType, NoProxy, ucbhelper::InternetProxyServer::nPort, and shouldUseProxy().
|
private |
Definition at line 808 of file proxydecider.cxx.
References m_aMutex, m_aNoProxyList, and nPos.
Referenced by changesOccurred(), and InternetProxyDecider_Impl().
|
private |
Definition at line 403 of file proxydecider.cxx.
References aBuffer, and m_aNoProxyList.
Referenced by getProxy().
|
private |
Definition at line 132 of file proxydecider.cxx.
Referenced by getProxy().
|
private |
Definition at line 131 of file proxydecider.cxx.
Referenced by changesOccurred(), getProxy(), and InternetProxyDecider_Impl().
|
mutableprivate |
Definition at line 137 of file proxydecider.cxx.
Referenced by getProxy().
|
private |
Definition at line 129 of file proxydecider.cxx.
Referenced by changesOccurred(), getProxy(), and InternetProxyDecider_Impl().
|
private |
Definition at line 130 of file proxydecider.cxx.
Referenced by changesOccurred(), getProxy(), and InternetProxyDecider_Impl().
|
mutableprivate |
Definition at line 128 of file proxydecider.cxx.
Referenced by changesOccurred(), dispose(), disposing(), getProxy(), and setNoProxyList().
|
private |
Definition at line 136 of file proxydecider.cxx.
Referenced by getProxy(), setNoProxyList(), and shouldUseProxy().
|
private |
Definition at line 133 of file proxydecider.cxx.
Referenced by changesOccurred(), getProxy(), and InternetProxyDecider_Impl().
|
private |
Definition at line 134 of file proxydecider.cxx.
Referenced by dispose(), disposing(), and InternetProxyDecider_Impl().