zypp::media::UrlResolverPlugin Class Reference

#include <UrlResolverPlugin.h>

List of all members.

Classes

struct  Impl
 UrlResolverPlugin implementation. More...

Public Types

typedef std::multimap
< std::string, std::string > 
HeaderList

Public Member Functions

 ~UrlResolverPlugin ()
 Dtor.

Static Public Member Functions

static Url resolveUrl (const Url &url, HeaderList &headers)
 Resolves an url using the installed plugins If no plugin is found the url is resolved as its current value.

Private Member Functions

 UrlResolverPlugin ()
 Default ctor.

Private Attributes

RW_pointer< Impl_pimpl
 Pointer to implementation.

Friends

std::ostream & operator<< (std::ostream &str, const UrlResolverPlugin &obj)


Detailed Description

Definition at line 33 of file UrlResolverPlugin.h.


Member Typedef Documentation

typedef std::multimap<std::string, std::string> zypp::media::UrlResolverPlugin::HeaderList

Definition at line 39 of file UrlResolverPlugin.h.


Constructor & Destructor Documentation

zypp::media::UrlResolverPlugin::~UrlResolverPlugin (  ) 

Dtor.

Definition at line 89 of file UrlResolverPlugin.cc.

zypp::media::UrlResolverPlugin::UrlResolverPlugin (  )  [private]

Default ctor.


Member Function Documentation

Url zypp::media::UrlResolverPlugin::resolveUrl ( const Url url,
HeaderList headers 
) [static]

Resolves an url using the installed plugins If no plugin is found the url is resolved as its current value.

Custom headers are inserted in the provided header list

Definition at line 36 of file UrlResolverPlugin.cc.

References zypp::Url::getPathName(), zypp::Url::getQueryStringMap(), zypp::Url::getScheme(), zypp::ZConfig::instance(), zypp::PluginScript::open(), zypp::ZConfig::pluginsPath(), zypp::PluginScript::receive(), zypp::PluginScript::send(), zypp::PluginFrame::setHeader(), url, and ZYPP_THROW.

Referenced by zypp::media::MediaAccess::open().


Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  str,
const UrlResolverPlugin obj 
) [friend]

Stream output

Definition at line 92 of file UrlResolverPlugin.cc.


Member Data Documentation

Pointer to implementation.

Definition at line 62 of file UrlResolverPlugin.h.

Referenced by zypp::media::operator<<().


The documentation for this class was generated from the following files:

doxygen