#include <OW_URL.hpp>
Collaboration diagram for OW_NAMESPACE::URL:
Public Member Functions | |
URL () | |
Creates an URL with empty member variables. | |
URL (const String &sUrl) | |
Allocate a new URL, based on a string. | |
String | toString () const |
Return a string based on the data in the member variables. | |
Public Attributes | |
String | scheme |
String | principal |
String | credential |
String | host |
String | port |
String | namespaceName |
String | modelPath |
Static Public Attributes | |
static const char *const | CIMXML_WBEM = "cimxml.wbem" |
static const char *const | CIMXML_WBEMS = "cimxml.wbems" |
static const char *const | HTTP = "http" |
static const char *const | HTTPS = "https" |
static const char *const | OWBINARY_WBEM = "owbinary.wbem" |
static const char *const | OWBINARY_WBEMS = "owbinary.wbems" |
static const char *const | OWBINARY = "owbinary" |
static const char *const | OWIPC = "owipc" |
See DMTF DSP0207 WBEM URI Mapping Specification 1.0.0
Definition at line 51 of file OW_URL.hpp.
|
Creates an URL with empty member variables. This is mean to be filled out before being used. Definition at line 86 of file OW_URL.cpp. |
|
Allocate a new URL, based on a string. This ctor parses the string and fills out the member variables. An Acceptable URL for this class is defined as follows: [scheme"://"][[<principal>][":"<credential>]"@"]<host>[":"<port>]["/"<namespace name>="">["/:"<model path>="">]] The only required element is <host> Standard WBEM schemes are: cimxml.wbem, cimxml.wbems, http, https. OW specific WBEM schemes are: owbinary.wbem, owbinary.wbems A port may be a number to indicate a TCP port, or it may be the special value owipc which indicates the Unix Domain Socket for the system.
Definition at line 91 of file OW_URL.cpp. References credential, OW_NAMESPACE::String::empty(), OW_NAMESPACE::String::indexOf(), OW_NAMESPACE::String::npos, principal, scheme, OW_NAMESPACE::String::substring(), OW_NAMESPACE::String::toLowerCase(), and OW_NAMESPACE::String::trim(). |
|
Return a string based on the data in the member variables.
Definition at line 48 of file OW_URL.cpp. References OW_NAMESPACE::String::empty(), and scheme. Referenced by OW_NAMESPACE::HTTPXMLCIMListenerCallback::deleteRegistrationObjects(), OW_NAMESPACE::CppIndicationExportXMLHTTPProvider::exportIndication(), OW_NAMESPACE::HTTPClient::getCredentialsIfNecessary(), and OW_NAMESPACE::RemoteProviderUtils::getRemoteClientCIMOMHandle(). |
|
Definition at line 89 of file OW_URL.hpp. |
|
Definition at line 90 of file OW_URL.hpp. Referenced by OW_NAMESPACE::CppIndicationExportXMLHTTPProvider::exportIndication(). |
|
Definition at line 78 of file OW_URL.hpp. Referenced by OW_NAMESPACE::HTTPClient::getCredentialsIfNecessary(), OW_NAMESPACE::RemoteProviderUtils::getRemoteClientCIMOMHandle(), OW_NAMESPACE::HTTPClient::sendAuthorization(), and URL(). |
|
Definition at line 79 of file OW_URL.hpp. |
|
Definition at line 91 of file OW_URL.hpp. |
|
Definition at line 92 of file OW_URL.hpp. |
|
Definition at line 82 of file OW_URL.hpp. |
|
Definition at line 81 of file OW_URL.hpp. Referenced by OW_NAMESPACE::ClientCIMOMHandle::createFromURL(). |
|
Definition at line 99 of file OW_URL.hpp. Referenced by OW_NAMESPACE::ClientCIMOMHandle::createFromURL(). |
|
Definition at line 93 of file OW_URL.hpp. |
|
Definition at line 94 of file OW_URL.hpp. |
|
Definition at line 102 of file OW_URL.hpp. |
|
Definition at line 80 of file OW_URL.hpp. |
|
Definition at line 77 of file OW_URL.hpp. Referenced by OW_NAMESPACE::HTTPClient::getCredentialsIfNecessary(), OW_NAMESPACE::RemoteProviderUtils::getRemoteClientCIMOMHandle(), OW_NAMESPACE::HTTPClient::sendAuthorization(), and URL(). |
|
Definition at line 76 of file OW_URL.hpp. Referenced by OW_NAMESPACE::ClientCIMOMHandle::createFromURL(), OW_NAMESPACE::CppIndicationExportXMLHTTPProvider::exportIndication(), OW_NAMESPACE::HTTPClient::setUrl(), toString(), and URL(). |