<class name="QHttpResponseHeader" doc="/**
&lt;p&gt;The &lt;a href=&quot;QHttpResponseHeader.html#QHttpResponseHeader()&quot;&gt;&lt;tt&gt;QHttpResponseHeader&lt;/tt&gt;&lt;/a&gt; class contains response header information for HTTP.&lt;/p&gt;
&lt;p&gt;This class is used by the &lt;a href=&quot;QHttp.html&quot;&gt;&lt;tt&gt;QHttp&lt;/tt&gt;&lt;/a&gt; class to report the header information that the client received from the server.&lt;/p&gt;
&lt;p&gt;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 (&amp;quot;reason phrase&amp;quot;). This class allows you to get the status code and the reason phrase.&lt;/p&gt;

@see &lt;a href=&quot;QHttpRequestHeader.html&quot;&gt;&lt;tt&gt;QHttpRequestHeader&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttp.html&quot;&gt;&lt;tt&gt;QHttp&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/qtjambi-http.html&quot;&gt;HTTP Example&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QHttpResponseHeader(java.lang.String str)" doc="/**
&lt;p&gt;Constructs a HTTP response header from the string &lt;tt&gt;str&lt;/tt&gt;. The string is parsed and the information is set. The &lt;tt&gt;str&lt;/tt&gt; should consist of one or more &amp;quot;\r\n&amp;quot; delimited lines; the first line should be the status-line (format: HTTP-version, space, status-code, space, reason-phrase); each of remaining lines should have the format key, colon, space, value.&lt;/p&gt;
 */"/>
    <method name="public QHttpResponseHeader(int code, java.lang.String text, int majorVer, int minorVer)" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QHttpResponseHeader.html#QHttpResponseHeader()&quot;&gt;&lt;tt&gt;QHttpResponseHeader&lt;/tt&gt;&lt;/a&gt;, setting the status code to &lt;tt&gt;code&lt;/tt&gt;, the reason phrase to &lt;tt&gt;text&lt;/tt&gt; and the protocol-version to &lt;tt&gt;majorVer&lt;/tt&gt; and &lt;tt&gt;minorVer&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHttpResponseHeader.html#statusCode()&quot;&gt;&lt;tt&gt;statusCode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpResponseHeader.html#reasonPhrase()&quot;&gt;&lt;tt&gt;reasonPhrase&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpResponseHeader.html#majorVersion()&quot;&gt;&lt;tt&gt;majorVersion&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpResponseHeader.html#minorVersion()&quot;&gt;&lt;tt&gt;minorVersion&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QHttpResponseHeader(int code, java.lang.String text, int majorVer)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QHttpResponseHeader.html#QHttpResponseHeader()&quot;&gt;&lt;tt&gt;QHttpResponseHeader&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;code&lt;/tt&gt;, &lt;tt&gt;text&lt;/tt&gt;, &lt;tt&gt;majorVer&lt;/tt&gt;, 1). */"/>
    <method name="public QHttpResponseHeader(int code, java.lang.String text)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QHttpResponseHeader.html#QHttpResponseHeader()&quot;&gt;&lt;tt&gt;QHttpResponseHeader&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;code&lt;/tt&gt;, &lt;tt&gt;text&lt;/tt&gt;, 1, 1). */"/>
    <method name="public QHttpResponseHeader(int code)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QHttpResponseHeader.html#QHttpResponseHeader()&quot;&gt;&lt;tt&gt;QHttpResponseHeader&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;code&lt;/tt&gt;, QString(), 1, 1). */"/>
    <method name="public QHttpResponseHeader(com.trolltech.qt.network.QHttpResponseHeader header)" doc="/**
&lt;p&gt;Constructs a copy of &lt;tt&gt;header&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QHttpResponseHeader()" doc="/**
&lt;p&gt;Constructs an empty HTTP response header.&lt;/p&gt;
 */"/>
    <method name="public final java.lang.String reasonPhrase()" doc="/**
&lt;p&gt;Returns the reason phrase of the HTTP response header.&lt;/p&gt;

@see &lt;a href=&quot;QHttpResponseHeader.html#statusCode()&quot;&gt;&lt;tt&gt;statusCode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpResponseHeader.html#majorVersion()&quot;&gt;&lt;tt&gt;majorVersion&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpResponseHeader.html#minorVersion()&quot;&gt;&lt;tt&gt;minorVersion&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setStatusLine(int code, java.lang.String text, int majorVer, int minorVer)" doc="/**
&lt;p&gt;Sets the status code to &lt;tt&gt;code&lt;/tt&gt;, the reason phrase to &lt;tt&gt;text&lt;/tt&gt; and the protocol-version to &lt;tt&gt;majorVer&lt;/tt&gt; and &lt;tt&gt;minorVer&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHttpResponseHeader.html#statusCode()&quot;&gt;&lt;tt&gt;statusCode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpResponseHeader.html#reasonPhrase()&quot;&gt;&lt;tt&gt;reasonPhrase&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpResponseHeader.html#majorVersion()&quot;&gt;&lt;tt&gt;majorVersion&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpResponseHeader.html#minorVersion()&quot;&gt;&lt;tt&gt;minorVersion&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setStatusLine(int code, java.lang.String text, int majorVer)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QHttpResponseHeader.html#setStatusLine(int, java.lang.String, int, int)&quot;&gt;&lt;tt&gt;setStatusLine&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;code&lt;/tt&gt;, &lt;tt&gt;text&lt;/tt&gt;, &lt;tt&gt;majorVer&lt;/tt&gt;, 1). */"/>
    <method name="public final void setStatusLine(int code, java.lang.String text)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QHttpResponseHeader.html#setStatusLine(int, java.lang.String, int, int)&quot;&gt;&lt;tt&gt;setStatusLine&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;code&lt;/tt&gt;, &lt;tt&gt;text&lt;/tt&gt;, 1, 1). */"/>
    <method name="public final void setStatusLine(int code)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QHttpResponseHeader.html#setStatusLine(int, java.lang.String, int, int)&quot;&gt;&lt;tt&gt;setStatusLine&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;code&lt;/tt&gt;, QString(), 1, 1). */"/>
    <method name="public final int statusCode()" doc="/**
&lt;p&gt;Returns the status code of the HTTP response header.&lt;/p&gt;

@see &lt;a href=&quot;QHttpResponseHeader.html#reasonPhrase()&quot;&gt;&lt;tt&gt;reasonPhrase&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpResponseHeader.html#majorVersion()&quot;&gt;&lt;tt&gt;majorVersion&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpResponseHeader.html#minorVersion()&quot;&gt;&lt;tt&gt;minorVersion&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public int majorVersion()" doc="/**
&lt;p&gt;Returns the major protocol-version of the HTTP response header.&lt;/p&gt;

@see &lt;a href=&quot;QHttpResponseHeader.html#minorVersion()&quot;&gt;&lt;tt&gt;minorVersion&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpResponseHeader.html#statusCode()&quot;&gt;&lt;tt&gt;statusCode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpResponseHeader.html#reasonPhrase()&quot;&gt;&lt;tt&gt;reasonPhrase&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public int minorVersion()" doc="/**
&lt;p&gt;Returns the minor protocol-version of the HTTP response header.&lt;/p&gt;

@see &lt;a href=&quot;QHttpResponseHeader.html#majorVersion()&quot;&gt;&lt;tt&gt;majorVersion&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpResponseHeader.html#statusCode()&quot;&gt;&lt;tt&gt;statusCode&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpResponseHeader.html#reasonPhrase()&quot;&gt;&lt;tt&gt;reasonPhrase&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected boolean parseLine(java.lang.String line, int number)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public java.lang.String toString()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
</class>
