URL representation.
More...
#include <XrdClURL.hh>
|
typedef std::map< std::string, std::string > | ParamsMap |
|
§ ParamsMap
§ URL() [1/2]
§ URL() [2/2]
XrdCl::URL::URL |
( |
const std::string & |
url | ) |
|
Constructor
- Parameters
-
url | an url in format: protocol://user:password@host:port/path?param1=x¶m2=y |
§ Clear()
void XrdCl::URL::Clear |
( |
| ) |
|
§ ComputeHostId()
void XrdCl::URL::ComputeHostId |
( |
| ) |
|
|
private |
§ ComputeURL()
void XrdCl::URL::ComputeURL |
( |
| ) |
|
|
private |
§ FromString()
bool XrdCl::URL::FromString |
( |
const std::string & |
url | ) |
|
§ GetHostId()
std::string XrdCl::URL::GetHostId |
( |
| ) |
const |
|
inline |
§ GetHostName()
const std::string& XrdCl::URL::GetHostName |
( |
| ) |
const |
|
inline |
Get the name of the target host.
References pHostName.
§ GetLocation()
std::string XrdCl::URL::GetLocation |
( |
| ) |
const |
Get location (protocol://host:port/path)
Referenced by GetHostId().
§ GetParams()
const ParamsMap& XrdCl::URL::GetParams |
( |
| ) |
const |
|
inline |
§ GetParamsAsString()
std::string XrdCl::URL::GetParamsAsString |
( |
| ) |
const |
§ GetPassword()
const std::string& XrdCl::URL::GetPassword |
( |
| ) |
const |
|
inline |
§ GetPath()
const std::string& XrdCl::URL::GetPath |
( |
| ) |
const |
|
inline |
Get the path.
References pPath.
§ GetPathWithParams()
std::string XrdCl::URL::GetPathWithParams |
( |
| ) |
const |
Get the path with params.
Referenced by SetPath().
§ GetPort()
int XrdCl::URL::GetPort |
( |
| ) |
const |
|
inline |
Get the target port.
References pPort.
§ GetProtocol()
const std::string& XrdCl::URL::GetProtocol |
( |
| ) |
const |
|
inline |
§ GetURL()
std::string XrdCl::URL::GetURL |
( |
| ) |
const |
|
inline |
§ GetUserName()
const std::string& XrdCl::URL::GetUserName |
( |
| ) |
const |
|
inline |
§ IsMetalink()
bool XrdCl::URL::IsMetalink |
( |
| ) |
const |
Is it a URL to a metalink.
§ IsValid()
bool XrdCl::URL::IsValid |
( |
| ) |
const |
§ ParseHostInfo()
bool XrdCl::URL::ParseHostInfo |
( |
const std::string |
hhostInfo | ) |
|
|
private |
§ ParsePath()
bool XrdCl::URL::ParsePath |
( |
const std::string & |
path | ) |
|
|
private |
§ PathEndsWith()
bool XrdCl::URL::PathEndsWith |
( |
const std::string & |
sufix | ) |
const |
|
private |
§ SetHostName()
void XrdCl::URL::SetHostName |
( |
const std::string & |
hostName | ) |
|
|
inline |
§ SetHostPort()
void XrdCl::URL::SetHostPort |
( |
const std::string & |
hostName, |
|
|
int |
port |
|
) |
| |
|
inline |
§ SetParams() [1/2]
void XrdCl::URL::SetParams |
( |
const std::string & |
params | ) |
|
§ SetParams() [2/2]
void XrdCl::URL::SetParams |
( |
const ParamsMap & |
params | ) |
|
|
inline |
§ SetPassword()
void XrdCl::URL::SetPassword |
( |
const std::string & |
password | ) |
|
|
inline |
§ SetPath()
void XrdCl::URL::SetPath |
( |
const std::string & |
path | ) |
|
|
inline |
§ SetPort()
void XrdCl::URL::SetPort |
( |
int |
port | ) |
|
|
inline |
§ SetProtocol()
void XrdCl::URL::SetProtocol |
( |
const std::string & |
protocol | ) |
|
|
inline |
§ SetUserName()
void XrdCl::URL::SetUserName |
( |
const std::string & |
userName | ) |
|
|
inline |
§ pHostId
std::string XrdCl::URL::pHostId |
|
private |
§ pHostName
std::string XrdCl::URL::pHostName |
|
private |
§ pParams
§ pPassword
std::string XrdCl::URL::pPassword |
|
private |
§ pPath
std::string XrdCl::URL::pPath |
|
private |
§ pPort
§ pProtocol
std::string XrdCl::URL::pProtocol |
|
private |
§ pURL
std::string XrdCl::URL::pURL |
|
private |
§ pUserName
std::string XrdCl::URL::pUserName |
|
private |
The documentation for this class was generated from the following file: