UrlUtils.hpp File Reference

LiMaL url utilities. More...

#include <limal/config.h>
#include <limal/ByteBuffer.hpp>
#include "blocxx/Exception.hpp"
#include <blocxx/String.hpp>
#include <blocxx/Array.hpp>
#include <blocxx/Map.hpp>

Go to the source code of this file.

Classes

struct  limal::url::UrlComponents
struct  limal::url::UrlAuthority

Namespaces

namespace  limal
namespace  limal::url

Typedefs

typedef BLOCXX_NAMESPACE::Map
< BLOCXX_NAMESPACE::String,
BLOCXX_NAMESPACE::String > 
limal::url::ParamMap

Enumerations

enum  limal::url::EEncoding { limal::url::E_ENCODED, limal::url::E_DECODED }

Functions

 limal::url::BLOCXX_DECLARE_EXCEPTION (Url)
 limal::url::BLOCXX_DECLARE_EXCEPTION2 (UrlParsing, UrlException)
 limal::url::BLOCXX_DECLARE_EXCEPTION2 (UrlDecoding, UrlException)
 limal::url::BLOCXX_DECLARE_EXCEPTION2 (UrlBadComponent, UrlException)
 limal::url::BLOCXX_DECLARE_EXCEPTION2 (UrlNotAllowed, UrlException)
 limal::url::BLOCXX_DECLARE_EXCEPTION2 (UrlNotSupported, UrlException)
BLOCXX_NAMESPACE::String limal::url::encode (const BLOCXX_NAMESPACE::String &str, const BLOCXX_NAMESPACE::String &safe="", limal::url::EEncoding eflag=E_DECODED)
BLOCXX_NAMESPACE::String limal::url::encode_buf (const limal::ByteBuffer &buf, const BLOCXX_NAMESPACE::String &safe="", limal::url::EEncoding eflag=E_DECODED)
BLOCXX_NAMESPACE::String limal::url::decode (const BLOCXX_NAMESPACE::String &str)
limal::ByteBuffer limal::url::decode_buf (const BLOCXX_NAMESPACE::String &str, bool allowNUL)
BLOCXX_NAMESPACE::String limal::url::encode_octet (const unsigned char c)
int limal::url::decode_octet (const char *hex)
BLOCXX_NAMESPACE::StringArray limal::url::split (const BLOCXX_NAMESPACE::String &pstr, const BLOCXX_NAMESPACE::String &psep)
limal::url::ParamMap limal::url::split (const BLOCXX_NAMESPACE::String &pstr, const BLOCXX_NAMESPACE::String &psep, const BLOCXX_NAMESPACE::String &vsep, EEncoding eflag=E_ENCODED)
BLOCXX_NAMESPACE::String limal::url::join (const BLOCXX_NAMESPACE::StringArray &parr, const BLOCXX_NAMESPACE::String &psep)
BLOCXX_NAMESPACE::String limal::url::join (const limal::url::ParamMap &pmap, const BLOCXX_NAMESPACE::String &psep, const BLOCXX_NAMESPACE::String &vsep, const BLOCXX_NAMESPACE::String &safe)
UrlComponents limal::url::parse_url_string (const BLOCXX_NAMESPACE::String &url)
UrlAuthority limal::url::parse_url_authority (const BLOCXX_NAMESPACE::String &authority)

Detailed Description

LiMaL url utilities.

Generated on Mon Jul 5 22:01:31 2010 for limal by  doxygen 1.6.3