class CCL::Url::Comparer

URL comparison is somewhat tricky, because different strings can identify the same resource.

class Comparer
{
public:
    // fields

    const Url& a;
    bool caseSensitive;

    // construction

    Comparer (const Url& a);

    // methods

    INLINE bool equalsString (StringRef s1, StringRef s2);
    INLINE StringRef sanitizeHost (StringRef protocol, StringRef hostname);
    INLINE String sanitizePath (StringRef _path);
    INLINE bool equals (UrlRef b, bool withParameters);
};