<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <!-- /builddir/build/BUILD/libqxt-libqxt-v0.6.2/src/web/qxtwebevent.cpp --> <head> <title>QxtWebRequestEvent Class Reference</title> <link href="stylesheet.css" rel="stylesheet" type="text/css" /> </head> <body> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td align="left" valign="top" width="32"><a href="http://libqxt.org"><img src="images/qxt-logo.png" width="50" height="40" align="left" border="0" /></a></td> <td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a> · <a href="classes.html"><font color="#004faf">Classes</font></a> · <a href="namespaces.html"><font color="#004faf">Namespaces</font></a> · <a href="functions.html"><font color="#004faf">Functions</font></a></td> <td align="right" valign="top" width="230"></td></tr></table><h1 class="title">QxtWebRequestEvent Class Reference<br /><span class="small-subtitle">[<a href="qxtweb.html">QxtWeb</a> module]</span> </h1> <p>The QxtWebRequestEvent class describes a request from a web browser <a href="#details">More...</a></p> <pre> #include <QxtWebRequestEvent></pre><p>Inherits <a href="qxtwebevent.html">QxtWebEvent</a>.</p> <ul> <li><a href="qxtwebrequestevent-members.html">List of all members, including inherited members</a></li> </ul> <a name="public-functions"></a> <h3>Public Functions</h3> <ul> <li><div class="fn"></div><b><a href="qxtwebrequestevent.html#QxtWebRequestEvent">QxtWebRequestEvent</a></b> ( int <i>sessionID</i>, int <i>requestID</i>, const QUrl & <i>url</i> )</li> <li><div class="fn"></div><b><a href="qxtwebrequestevent.html#dtor.QxtWebRequestEvent">~QxtWebRequestEvent</a></b> ()</li> </ul> <ul> <li><div class="fn"></div>1 public function inherited from <a href="qxtwebevent.html#public-functions">QxtWebEvent</a></li> </ul> <a name="public-variables"></a> <h3>Public Variables</h3> <ul> <li><div class="fn"></div>QPointer<QxtWebContent> <b><a href="qxtwebrequestevent.html#content-var">content</a></b></li> <li><div class="fn"></div>QString <b><a href="qxtwebrequestevent.html#contentType-var">contentType</a></b></li> <li><div class="fn"></div>QMultiHash<QString, QString> <b><a href="qxtwebrequestevent.html#cookies-var">cookies</a></b></li> <li><div class="fn"></div>QMultiHash<QString, QString> <b><a href="qxtwebrequestevent.html#headers-var">headers</a></b></li> <li><div class="fn"></div>const QUrl <b><a href="qxtwebrequestevent.html#originalUrl-var">originalUrl</a></b></li> <li><div class="fn"></div>const int <b><a href="qxtwebrequestevent.html#requestID-var">requestID</a></b></li> <li><div class="fn"></div>QUrl <b><a href="qxtwebrequestevent.html#url-var">url</a></b></li> </ul> <ul> <li><div class="fn"></div>1 public type inherited from <a href="qxtwebevent.html#public-variables">QxtWebEvent</a></li> </ul> <a name="details"></a> <hr /> <h2>Detailed Description</h2> <p>The QxtWebRequestEvent class describes a request from a web browser</p> <p>The QxtWebRequestEvent class contains information about a request from a web browser.</p> <hr /> <h2>Member Function Documentation</h2> <h3 class="fn"><a name="QxtWebRequestEvent"></a>QxtWebRequestEvent::QxtWebRequestEvent ( int <i>sessionID</i>, int <i>requestID</i>, const <a href="http://doc.qtsoftware.com/4.5/qurl.html">QUrl</a> & <i>url</i> )</h3> <p>Constructs a <a href="qxtwebrequestevent.html">QxtWebRequestEvent</a> for the specified <i>sessionID</i>, <i>requestID</i> and <i>url</i>.</p> <h3 class="fn"><a name="dtor.QxtWebRequestEvent"></a>QxtWebRequestEvent::~QxtWebRequestEvent ()</h3> <p>Destroys the event and any content that may still be associated with it.</p> <hr /> <h2>Member Variable Documentation</h2> <h3 class="fn"><a name="content-var"></a><a href="http://doc.qtsoftware.com/4.5/qpointer.html">QPointer</a><<a href="qxtwebcontent.html">QxtWebContent</a>> QxtWebRequestEvent::content</h3> <p>Contains the content of the request body, if present.</p> <h3 class="fn"><a name="contentType-var"></a><a href="http://doc.qtsoftware.com/4.5/qstring.html">QString</a> QxtWebRequestEvent::contentType</h3> <p>Contains the MIME type of the request body, if present.</p> <h3 class="fn"><a name="cookies-var"></a><a href="http://doc.qtsoftware.com/4.5/qmultihash.html">QMultiHash</a><<a href="http://doc.qtsoftware.com/4.5/qstring.html">QString</a>, <a href="http://doc.qtsoftware.com/4.5/qstring.html">QString</a>> QxtWebRequestEvent::cookies</h3> <p>Contains all of the cookies sent by the web browser.</p> <h3 class="fn"><a name="headers-var"></a><a href="http://doc.qtsoftware.com/4.5/qmultihash.html">QMultiHash</a><<a href="http://doc.qtsoftware.com/4.5/qstring.html">QString</a>, <a href="http://doc.qtsoftware.com/4.5/qstring.html">QString</a>> QxtWebRequestEvent::headers</h3> <p>Contains all of the headers sent by the web browser.</p> <p>Note that use of these values may not be portable across session maangers.</p> <h3 class="fn"><a name="originalUrl-var"></a>const <a href="http://doc.qtsoftware.com/4.5/qurl.html">QUrl</a> QxtWebRequestEvent::originalUrl</h3> <p>Contains the request URL exactly as it was sent from the web browser.</p> <h3 class="fn"><a name="requestID-var"></a>const int QxtWebRequestEvent::requestID</h3> <p>Contains an opaque value generated by the session manager. This request ID must be included in the <a href="qxtwebpageevent.html">QxtWebPageEvent</a> or <a href="qxtwebpageevent.html">QxtWebPageEvent</a> subclass that is the response to the request.</p> <h3 class="fn"><a name="url-var"></a><a href="http://doc.qtsoftware.com/4.5/qurl.html">QUrl</a> QxtWebRequestEvent::url</h3> <p>Contains the request URL, possibly after rewriting by intermediate services such as <a href="qxtwebservicedirectory.html">QxtWebServiceDirectory</a>.</p> <p /><address><hr /><div align="center"> <table width="100%" cellspacing="0" border="0"><tr class="address"> <td align="left">Copyright © 2007-2011 <a href="mailto:foundation@libqxt.org">Qxt Foundation</a></td> <td align="right"><div align="right"> <a href="http://libqxt.org">Qxt</a> 0.6.2</div></td> </tr></table></div></address></body> </html>