30 #ifndef __TERRALIB_CORE_URI_URI_H__
31 #define __TERRALIB_CORE_URI_URI_H__
66 explicit URI(
const std::string& uri);
82 const std::string&
uri()
const;
A class to store the proxy information that must be used to access data located in URIs.
std::string port() const
Retrieving the port.
std::string hexToLetter(int i)
std::string query() const
Retrieving the query.
URI & operator=(const URI &other)
Assingment operator.
std::string user() const
Retrieving the user information.
std::string fragment() const
Retrieving the fragment.
std::string host() const
Retrieving the host.
std::unique_ptr< Impl > m_pimpl
URI(const std::string &uri)
A constructor from a string.
void encode()
Check if the uri_ contains any invalid character and parse it to his hexadecimal value.
void swap(URI &other)
Swap operation.
std::string password() const
Retrieving the password information.
URI()
Default constructor.
URI(const URI &other)
Copy constructor.
void parse()
Parse the URI stored in uri_ member.
std::string path() const
Retrieving the path.
const std::string & uri() const
Retrieving the full URI.
std::string scheme() const
Retrieving the scheme.
bool isValid() const
Return if the given URI is valid or not.
Proxy configuration file for TerraView (see terraview_config.h).