[190] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
---|
| 2 | <!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/network/qhttp.cpp:673 -->
|
---|
| 3 | <html>
|
---|
| 4 | <head>
|
---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
---|
| 6 | <title>QHttpResponseHeader Class</title>
|
---|
| 7 | <style type="text/css"><!--
|
---|
| 8 | fn { margin-left: 1cm; text-indent: -1cm; }
|
---|
| 9 | a:link { color: #004faf; text-decoration: none }
|
---|
| 10 | a:visited { color: #672967; text-decoration: none }
|
---|
| 11 | body { background: #ffffff; color: black; }
|
---|
| 12 | --></style>
|
---|
| 13 | </head>
|
---|
| 14 | <body>
|
---|
| 15 |
|
---|
| 16 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
| 17 | <tr bgcolor="#E5E5E5">
|
---|
| 18 | <td valign=center>
|
---|
| 19 | <a href="index.html">
|
---|
| 20 | <font color="#004faf">Home</font></a>
|
---|
| 21 | | <a href="classes.html">
|
---|
| 22 | <font color="#004faf">All Classes</font></a>
|
---|
| 23 | | <a href="mainclasses.html">
|
---|
| 24 | <font color="#004faf">Main Classes</font></a>
|
---|
| 25 | | <a href="annotated.html">
|
---|
| 26 | <font color="#004faf">Annotated</font></a>
|
---|
| 27 | | <a href="groups.html">
|
---|
| 28 | <font color="#004faf">Grouped Classes</font></a>
|
---|
| 29 | | <a href="functions.html">
|
---|
| 30 | <font color="#004faf">Functions</font></a>
|
---|
| 31 | </td>
|
---|
| 32 | <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>QHttpResponseHeader Class Reference<br><small>[<a href="network.html">network module</a>]</small></h1>
|
---|
| 33 |
|
---|
| 34 | <p>The QHttpResponseHeader class contains response header information for HTTP.
|
---|
| 35 | <a href="#details">More...</a>
|
---|
| 36 | <p><tt>#include <<a href="qhttp-h.html">qhttp.h</a>></tt>
|
---|
| 37 | <p>Inherits <a href="qhttpheader.html">QHttpHeader</a>.
|
---|
| 38 | <p><a href="qhttpresponseheader-members.html">List of all member functions.</a>
|
---|
| 39 | <h2>Public Members</h2>
|
---|
| 40 | <ul>
|
---|
| 41 | <li class=fn><a href="#QHttpResponseHeader-3"><b>QHttpResponseHeader</b></a> ()</li>
|
---|
| 42 | <li class=fn><a href="#QHttpResponseHeader-4"><b>QHttpResponseHeader</b></a> ( const QHttpResponseHeader & header )</li>
|
---|
| 43 | <li class=fn>int <a href="#statusCode"><b>statusCode</b></a> () const</li>
|
---|
| 44 | <li class=fn>QString <a href="#reasonPhrase"><b>reasonPhrase</b></a> () const</li>
|
---|
| 45 | <li class=fn>virtual int <a href="#majorVersion"><b>majorVersion</b></a> () const</li>
|
---|
| 46 | <li class=fn>virtual int <a href="#minorVersion"><b>minorVersion</b></a> () const</li>
|
---|
| 47 | </ul>
|
---|
| 48 | <hr><a name="details"></a><h2>Detailed Description</h2>
|
---|
| 49 |
|
---|
| 50 |
|
---|
| 51 | The QHttpResponseHeader class contains response header information for HTTP.
|
---|
| 52 |
|
---|
| 53 | <p>
|
---|
| 54 |
|
---|
| 55 | <p> This class is used by the <a href="qhttp.html">QHttp</a> class to report the header
|
---|
| 56 | information that the client received from the server.
|
---|
| 57 | <p> HTTP responses have a status code that indicates the status of the
|
---|
| 58 | response. This code is a 3-digit integer result code (for details
|
---|
| 59 | see to RFC 1945). In addition to the status code, you can also
|
---|
| 60 | specify a human-readable text that describes the reason for the
|
---|
| 61 | code ("reason phrase"). This class allows you to get the status
|
---|
| 62 | code and the reason phrase.
|
---|
| 63 | <p> <p>See also <a href="qhttprequestheader.html">QHttpRequestHeader</a>, <a href="qhttp.html">QHttp</a>, and <a href="io.html">Input/Output and Networking</a>.
|
---|
| 64 |
|
---|
| 65 | <hr><h2>Member Function Documentation</h2>
|
---|
| 66 | <h3 class=fn><a name="QHttpResponseHeader-3"></a>QHttpResponseHeader::QHttpResponseHeader ()
|
---|
| 67 | </h3>
|
---|
| 68 | Constructs an empty HTTP response header.
|
---|
| 69 |
|
---|
| 70 | <h3 class=fn><a name="QHttpResponseHeader-4"></a>QHttpResponseHeader::QHttpResponseHeader ( const <a href="qhttpresponseheader.html">QHttpResponseHeader</a> & header )
|
---|
| 71 | </h3>
|
---|
| 72 | Constructs a copy of <em>header</em>.
|
---|
| 73 |
|
---|
| 74 | <h3 class=fn>int <a name="majorVersion"></a>QHttpResponseHeader::majorVersion () const<tt> [virtual]</tt>
|
---|
| 75 | </h3>
|
---|
| 76 | Returns the major protocol-version of the HTTP response header.
|
---|
| 77 | <p> <p>See also <a href="#minorVersion">minorVersion</a>(), <a href="#statusCode">statusCode</a>(), and <a href="#reasonPhrase">reasonPhrase</a>().
|
---|
| 78 |
|
---|
| 79 | <p>Reimplemented from <a href="qhttpheader.html#majorVersion">QHttpHeader</a>.
|
---|
| 80 | <h3 class=fn>int <a name="minorVersion"></a>QHttpResponseHeader::minorVersion () const<tt> [virtual]</tt>
|
---|
| 81 | </h3>
|
---|
| 82 | Returns the minor protocol-version of the HTTP response header.
|
---|
| 83 | <p> <p>See also <a href="#majorVersion">majorVersion</a>(), <a href="#statusCode">statusCode</a>(), and <a href="#reasonPhrase">reasonPhrase</a>().
|
---|
| 84 |
|
---|
| 85 | <p>Reimplemented from <a href="qhttpheader.html#minorVersion">QHttpHeader</a>.
|
---|
| 86 | <h3 class=fn><a href="qstring.html">QString</a> <a name="reasonPhrase"></a>QHttpResponseHeader::reasonPhrase () const
|
---|
| 87 | </h3>
|
---|
| 88 | Returns the reason phrase of the HTTP response header.
|
---|
| 89 | <p> <p>See also <a href="#statusCode">statusCode</a>(), <a href="#majorVersion">majorVersion</a>(), and <a href="#minorVersion">minorVersion</a>().
|
---|
| 90 |
|
---|
| 91 | <h3 class=fn>int <a name="statusCode"></a>QHttpResponseHeader::statusCode () const
|
---|
| 92 | </h3>
|
---|
| 93 | Returns the status code of the HTTP response header.
|
---|
| 94 | <p> <p>See also <a href="#reasonPhrase">reasonPhrase</a>(), <a href="#majorVersion">majorVersion</a>(), and <a href="#minorVersion">minorVersion</a>().
|
---|
| 95 |
|
---|
| 96 | <!-- eof -->
|
---|
| 97 | <hr><p>
|
---|
| 98 | This file is part of the <a href="index.html">Qt toolkit</a>.
|
---|
| 99 | Copyright © 1995-2007
|
---|
| 100 | <a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
|
---|
| 101 | <table width=100% cellspacing=0 border=0><tr>
|
---|
| 102 | <td>Copyright © 2007
|
---|
| 103 | <a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
|
---|
| 104 | <td align=right><div align=right>Qt 3.3.8</div>
|
---|
| 105 | </table></div></address></body>
|
---|
| 106 | </html>
|
---|