29 #ifndef __TERRALIB_CORE_URI_PROXYINFO_H__
30 #define __TERRALIB_CORE_URI_PROXYINFO_H__
33 #include "../Config.h"
bool isEnabled() const
Checks if the use of the proxy settings is enabled and must be used in requests.
void setPort(int port)
Sets Proxy Port information.
std::string toString() const
Gets the proxy settings as a string.
void setPassword(const std::string &password)
Sets Proxy Password information.
const std::string & getUserName() const
Gets Proxy UserName information.
std::string m_host
Stores information related to the proxy host.
void setHost(const std::string &host)
Sets Proxy Host information.
int getPort() const
Gets Proxy Port information.
bool m_isEnabled
Stores information related to the enabling of the use of these proxy settings.
std::string getHostPort() const
Gets the proxy settings host component (host:port).
std::string m_userName
Stores information related to the proxy user.
std::string m_password
Stores information related to the proxy password.
bool isAuthenticated() const
Checks if the proxy settings has authentication information sets (userName and password).
int m_port
Stores information related to the proxy port.
const std::string & getPassword() const
Gets Proxy Password information.
void setEnabled(bool enabled)
Sets Enabled or Disabled the use of the proxy settings.
const std::string & getHost() const
Gets Proxy Host information.
void setUserName(const std::string &userName)
Sets Proxy User Name information.
ProxyInfo()
Default constructor.
std::string getAuthentication() const
Gets the proxy settings authentication component (user:password).