~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/qhttpresponseheader.html

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<!DOCTYPE html
 
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
5
<!-- /tmp/qt-4.0.0-espenr-1119621036935/qt-x11-opensource-desktop-4.0.0/src/network/qhttp.cpp -->
 
6
<head>
 
7
    <title>Qt 4.0: QHttpResponseHeader Class Reference</title>
 
8
    <style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
 
9
a:link { color: #004faf; text-decoration: none }
 
10
a:visited { color: #672967; text-decoration: none }
 
11
td.postheader { font-family: sans-serif }
 
12
tr.address { font-family: sans-serif }
 
13
body { background: #ffffff; color: black; }</style>
 
14
</head>
 
15
<body>
 
16
<table border="0" cellpadding="0" cellspacing="0" width="100%">
 
17
<tr>
 
18
<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></td>
 
19
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="annotated.html"><font color="#004faf">Annotated</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
 
20
<td align="right" valign="top" width="230"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></td></tr></table><h1 align="center">QHttpResponseHeader Class Reference</h1>
 
21
<p>The QHttpResponseHeader class contains response header information for HTTP. <a href="#details">More...</a></p>
 
22
<pre>#include &lt;QHttpResponseHeader&gt;</pre><p>Part of the <a href="qtnetwork.html">QtNetwork</a> module.</p>
 
23
<p>Inherits <a href="qhttpheader.html">QHttpHeader</a>.</p>
 
24
<ul>
 
25
<li><a href="qhttpresponseheader-members.html">List of all members, including inherited members</a></li>
 
26
</ul>
 
27
<a name="public-functions"></a>
 
28
<h3>Public Functions</h3>
 
29
<ul>
 
30
<li><div class="fn"/><b><a href="qhttpresponseheader.html#QHttpResponseHeader-3">QHttpResponseHeader</a></b> ()</li>
 
31
<li><div class="fn"/><b><a href="qhttpresponseheader.html#QHttpResponseHeader-4">QHttpResponseHeader</a></b> ( const QHttpResponseHeader &amp; <i>header</i> )</li>
 
32
<li><div class="fn"/>virtual int <b><a href="qhttpresponseheader.html#majorVersion">majorVersion</a></b> () const</li>
 
33
<li><div class="fn"/>virtual int <b><a href="qhttpresponseheader.html#minorVersion">minorVersion</a></b> () const</li>
 
34
<li><div class="fn"/>QString <b><a href="qhttpresponseheader.html#reasonPhrase">reasonPhrase</a></b> () const</li>
 
35
<li><div class="fn"/>int <b><a href="qhttpresponseheader.html#statusCode">statusCode</a></b> () const</li>
 
36
<li><div class="fn"/>QHttpResponseHeader &amp; <b><a href="qhttpresponseheader.html#operator-eq">operator=</a></b> ( const QHttpResponseHeader &amp; <i>header</i> )</li>
 
37
</ul>
 
38
<ul>
 
39
<li><div class="fn"/>16 public functions inherited from <a href="qhttpheader.html#public-functions">QHttpHeader</a></li>
 
40
</ul>
 
41
<a name="details"></a>
 
42
<hr />
 
43
<h2>Detailed Description</h2>
 
44
<p>The QHttpResponseHeader class contains response header information for HTTP.</p>
 
45
<p>This class is used by the <a href="qhttp.html">QHttp</a> class to report the header information that the client received from the server.</p>
 
46
<p>HTTP responses have a status code that indicates the status of the response. This code is a 3-digit integer result code (for details see to RFC 1945). In addition to the status code, you can also specify a human-readable text that describes the reason for the code (&quot;reason phrase&quot;). This class allows you to get the status code and the reason phrase.</p>
 
47
<p>See also <a href="qhttprequestheader.html">QHttpRequestHeader</a> and <a href="qhttp.html">QHttp</a>.</p>
 
48
<hr />
 
49
<h2>Member Function Documentation</h2>
 
50
<h3 class="fn"><a name="QHttpResponseHeader-3"></a>QHttpResponseHeader::QHttpResponseHeader ()</h3>
 
51
<p>Constructs an empty HTTP response header.</p>
 
52
<h3 class="fn"><a name="QHttpResponseHeader-4"></a>QHttpResponseHeader::QHttpResponseHeader ( const QHttpResponseHeader &amp; <i>header</i> )</h3>
 
53
<p>Constructs a copy of <i>header</i>.</p>
 
54
<h3 class="fn"><a name="majorVersion"></a>int QHttpResponseHeader::majorVersion () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
55
<p>Returns the major protocol-version of the HTTP response header.</p>
 
56
<p>Reimplemented from <a href="qhttpheader.html#majorVersion">QHttpHeader</a>.</p>
 
57
<p>See also <a href="qhttpresponseheader.html#minorVersion">minorVersion</a>(), <a href="qhttpresponseheader.html#statusCode">statusCode</a>(), and <a href="qhttpresponseheader.html#reasonPhrase">reasonPhrase</a>().</p>
 
58
<h3 class="fn"><a name="minorVersion"></a>int QHttpResponseHeader::minorVersion () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
59
<p>Returns the minor protocol-version of the HTTP response header.</p>
 
60
<p>Reimplemented from <a href="qhttpheader.html#minorVersion">QHttpHeader</a>.</p>
 
61
<p>See also <a href="qhttpresponseheader.html#majorVersion">majorVersion</a>(), <a href="qhttpresponseheader.html#statusCode">statusCode</a>(), and <a href="qhttpresponseheader.html#reasonPhrase">reasonPhrase</a>().</p>
 
62
<h3 class="fn"><a name="reasonPhrase"></a><a href="qstring.html">QString</a> QHttpResponseHeader::reasonPhrase () const</h3>
 
63
<p>Returns the reason phrase of the HTTP response header.</p>
 
64
<p>See also <a href="qhttpresponseheader.html#statusCode">statusCode</a>(), <a href="qhttpresponseheader.html#majorVersion">majorVersion</a>(), and <a href="qhttpresponseheader.html#minorVersion">minorVersion</a>().</p>
 
65
<h3 class="fn"><a name="statusCode"></a>int QHttpResponseHeader::statusCode () const</h3>
 
66
<p>Returns the status code of the HTTP response header.</p>
 
67
<p>See also <a href="qhttpresponseheader.html#reasonPhrase">reasonPhrase</a>(), <a href="qhttpresponseheader.html#majorVersion">majorVersion</a>(), and <a href="qhttpresponseheader.html#minorVersion">minorVersion</a>().</p>
 
68
<h3 class="fn"><a name="operator-eq"></a>QHttpResponseHeader &amp; QHttpResponseHeader::operator= ( const QHttpResponseHeader &amp; <i>header</i> )</h3>
 
69
<p>Copies the contents of <i>header</i> into this <a href="qhttpresponseheader.html">QHttpResponseHeader</a>.</p>
 
70
<p /><address><hr /><div align="center">
 
71
<table width="100%" cellspacing="0" border="0"><tr class="address">
 
72
<td width="30%">Copyright &copy; 2005 <a href="trolltech.html">Trolltech</a></td>
 
73
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
74
<td width="30%" align="right"><div align="right">Qt 4.0.0</div></td>
 
75
</tr></table></div></address></body>
 
76
</html>