version 3.3

VRS::QueryUrl Class Reference

Custom Qt class for parsing the details of a http url with a query like http://webserver.com/path/action?query?param1=value1&param2=value2. More...

#include <vrs/qt3/httpserver/queryurl.h>

List of all members.

Public Member Functions

 QueryUrl (const QString &url)
virtual void setQuery (const QString &txt)
QString decodedQuery () const
 Provides an decoded query() (eg. " " instead of "%20").
QMap< QString, QString > parameters () const
 The paramters are already decoded (eg. " " instead of "%20").
QString actionDir () const
 The directory (without the filename=action) in decoded form (eg. " " instead of "%20").
QString action () const
 The action (aka filename) in decoded form (eg. " " instead of "%20").


Detailed Description

Custom Qt class for parsing the details of a http url with a query like http://webserver.com/path/action?query?param1=value1&param2=value2.

Constructor & Destructor Documentation

VRS::QueryUrl::QueryUrl ( const QString &  url  ) 


Member Function Documentation

virtual void VRS::QueryUrl::setQuery ( const QString &  txt  )  [virtual]

QString VRS::QueryUrl::decodedQuery (  )  const

Provides an decoded query() (eg. " " instead of "%20").

Please use this method instead of query() because it correctly handles empty strings.

QMap<QString, QString> VRS::QueryUrl::parameters (  )  const

The paramters are already decoded (eg. " " instead of "%20").

QString VRS::QueryUrl::actionDir (  )  const

The directory (without the filename=action) in decoded form (eg. " " instead of "%20").

QString VRS::QueryUrl::action (  )  const

The action (aka filename) in decoded form (eg. " " instead of "%20").


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

Generated on Thu May 23 06:00:30 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact