URL representation.
More...
#include <XrdClURL.hh>
|
typedef std::map< std::string, std::string > | ParamsMap |
|
◆ ParamsMap
◆ URL() [1/3]
◆ URL() [2/3]
XrdCl::URL::URL |
( |
const std::string & |
url | ) |
|
Constructor
- Parameters
-
url | an url in format: protocol://user:password@host:port/path?param1=x¶m2=y |
◆ URL() [3/3]
XrdCl::URL::URL |
( |
const char * |
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 | ) |
|
Parse a string and fill the URL fields.
◆ GetChannelId()
std::string XrdCl::URL::GetChannelId |
( |
| ) |
const |
Get the host part of the URL (user:password@host:port) plus channel specific CGI (xrdcl.identity & xrd.gsiusrpxy)
◆ 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 |
◆ GetLoginToken()
std::string XrdCl::URL::GetLoginToken |
( |
| ) |
const |
Get the login token if present in the opaque info.
◆ GetParams()
const ParamsMap & XrdCl::URL::GetParams |
( |
| ) |
const |
|
inline |
◆ GetParamsAsString() [1/2]
std::string XrdCl::URL::GetParamsAsString |
( |
| ) |
const |
Get the URL params as string.
◆ GetParamsAsString() [2/2]
std::string XrdCl::URL::GetParamsAsString |
( |
bool |
filter | ) |
const |
Get the URL params as string
- Parameters
-
filter | : if set to true filters out 'xrdcl.' |
◆ GetPassword()
const std::string & XrdCl::URL::GetPassword |
( |
| ) |
const |
|
inline |
◆ GetPath()
const std::string & XrdCl::URL::GetPath |
( |
| ) |
const |
|
inline |
◆ GetPathWithFilteredParams()
std::string XrdCl::URL::GetPathWithFilteredParams |
( |
| ) |
const |
Get the path with params, filteres out 'xrdcl.'.
◆ GetPathWithParams()
std::string XrdCl::URL::GetPathWithParams |
( |
| ) |
const |
Get the path with params.
◆ 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 |
◆ IsLocalFile()
bool XrdCl::URL::IsLocalFile |
( |
| ) |
const |
◆ IsMetalink()
bool XrdCl::URL::IsMetalink |
( |
| ) |
const |
Is it a URL to a metalink.
◆ IsSecure()
bool XrdCl::URL::IsSecure |
( |
| ) |
const |
Does the protocol indicate encryption.
◆ IsTPC()
bool XrdCl::URL::IsTPC |
( |
| ) |
const |
Is the URL used in TPC context.
◆ 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 ParamsMap & |
params | ) |
|
|
inline |
◆ SetParams() [2/2]
void XrdCl::URL::SetParams |
( |
const std::string & |
params | ) |
|
◆ 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: