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