<class name="QHttpRequestHeader" doc="/**
&lt;p&gt;The &lt;a href=&quot;QHttpRequestHeader.html#QHttpRequestHeader()&quot;&gt;&lt;tt&gt;QHttpRequestHeader&lt;/tt&gt;&lt;/a&gt; class contains request header information for HTTP.&lt;/p&gt;
&lt;p&gt;This class is used in 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 if the client requests something from the server.&lt;/p&gt;
&lt;p&gt;HTTP requests have a method which describes the request's action. The most common requests are &amp;quot;GET&amp;quot; and &amp;quot;POST&amp;quot;. In addition to the request method the header also includes a request-URI to specify the location for the method to use.&lt;/p&gt;
&lt;p&gt;The method, request-URI and protocol-version can be set using a constructor or later using &lt;a href=&quot;QHttpRequestHeader.html#setRequest(java.lang.String, java.lang.String, int, int)&quot;&gt;&lt;tt&gt;setRequest&lt;/tt&gt;&lt;/a&gt;. The values can be obtained using &lt;a href=&quot;QHttpRequestHeader.html#method()&quot;&gt;&lt;tt&gt;method&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHttpRequestHeader.html#path()&quot;&gt;&lt;tt&gt;path&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QHttpRequestHeader.html#majorVersion()&quot;&gt;&lt;tt&gt;majorVersion&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QHttpRequestHeader.html#minorVersion()&quot;&gt;&lt;tt&gt;minorVersion&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Important inherited functions: &lt;a href=&quot;QHttpHeader.html#setValue(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;setValue&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QHttpHeader.html#value(java.lang.String)&quot;&gt;&lt;tt&gt;value&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QHttpResponseHeader.html&quot;&gt;&lt;tt&gt;QHttpResponseHeader&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; */">
    <method name="public QHttpRequestHeader(java.lang.String str)" doc="/**
&lt;p&gt;Constructs a HTTP request header from the string &lt;tt&gt;str&lt;/tt&gt;. 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 request-line (format: method, space, request-URI, space HTTP-version); each of the remaining lines should have the format key, colon, space, value.&lt;/p&gt;
 */"/>
    <method name="public QHttpRequestHeader(java.lang.String method, java.lang.String path, int majorVer, int minorVer)" doc="/**
&lt;p&gt;Constructs a HTTP request header for the method &lt;tt&gt;method&lt;/tt&gt;, the request-URI &lt;tt&gt;path&lt;/tt&gt; and the protocol-version &lt;tt&gt;majorVer&lt;/tt&gt; and &lt;tt&gt;minorVer&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QHttpRequestHeader(java.lang.String method, java.lang.String path, int majorVer)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QHttpRequestHeader.html#QHttpRequestHeader()&quot;&gt;&lt;tt&gt;QHttpRequestHeader&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;method&lt;/tt&gt;, &lt;tt&gt;path&lt;/tt&gt;, &lt;tt&gt;majorVer&lt;/tt&gt;, 1). */"/>
    <method name="public QHttpRequestHeader(java.lang.String method, java.lang.String path)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QHttpRequestHeader.html#QHttpRequestHeader()&quot;&gt;&lt;tt&gt;QHttpRequestHeader&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;method&lt;/tt&gt;, &lt;tt&gt;path&lt;/tt&gt;, 1, 1). */"/>
    <method name="public QHttpRequestHeader(com.trolltech.qt.network.QHttpRequestHeader header)" doc="/**
&lt;p&gt;Constructs a copy of &lt;tt&gt;header&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QHttpRequestHeader()" doc="/**
&lt;p&gt;Constructs an empty HTTP request header.&lt;/p&gt;
 */"/>
    <method name="public final java.lang.String method()" doc="/**
&lt;p&gt;Returns the method of the HTTP request header.&lt;/p&gt;

@see &lt;a href=&quot;QHttpRequestHeader.html#path()&quot;&gt;&lt;tt&gt;path&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpRequestHeader.html#majorVersion()&quot;&gt;&lt;tt&gt;majorVersion&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpRequestHeader.html#minorVersion()&quot;&gt;&lt;tt&gt;minorVersion&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpRequestHeader.html#setRequest(java.lang.String, java.lang.String, int, int)&quot;&gt;&lt;tt&gt;setRequest&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String path()" doc="/**
&lt;p&gt;Returns the request-URI of the HTTP request header.&lt;/p&gt;

@see &lt;a href=&quot;QHttpRequestHeader.html#method()&quot;&gt;&lt;tt&gt;method&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpRequestHeader.html#majorVersion()&quot;&gt;&lt;tt&gt;majorVersion&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpRequestHeader.html#minorVersion()&quot;&gt;&lt;tt&gt;minorVersion&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpRequestHeader.html#setRequest(java.lang.String, java.lang.String, int, int)&quot;&gt;&lt;tt&gt;setRequest&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setRequest(java.lang.String method, java.lang.String path, int majorVer, int minorVer)" doc="/**
&lt;p&gt;This function sets the request method to &lt;tt&gt;method&lt;/tt&gt;, the request-URI to &lt;tt&gt;path&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;QHttpRequestHeader.html#method()&quot;&gt;&lt;tt&gt;method&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpRequestHeader.html#path()&quot;&gt;&lt;tt&gt;path&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpRequestHeader.html#majorVersion()&quot;&gt;&lt;tt&gt;majorVersion&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpRequestHeader.html#minorVersion()&quot;&gt;&lt;tt&gt;minorVersion&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setRequest(java.lang.String method, java.lang.String path, int majorVer)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QHttpRequestHeader.html#setRequest(java.lang.String, java.lang.String, int, int)&quot;&gt;&lt;tt&gt;setRequest&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;method&lt;/tt&gt;, &lt;tt&gt;path&lt;/tt&gt;, &lt;tt&gt;majorVer&lt;/tt&gt;, 1). */"/>
    <method name="public final void setRequest(java.lang.String method, java.lang.String path)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QHttpRequestHeader.html#setRequest(java.lang.String, java.lang.String, int, int)&quot;&gt;&lt;tt&gt;setRequest&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;method&lt;/tt&gt;, &lt;tt&gt;path&lt;/tt&gt;, 1, 1). */"/>
    <method name="public int majorVersion()" doc="/**
&lt;p&gt;Returns the major protocol-version of the HTTP request header.&lt;/p&gt;

@see &lt;a href=&quot;QHttpRequestHeader.html#minorVersion()&quot;&gt;&lt;tt&gt;minorVersion&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpRequestHeader.html#method()&quot;&gt;&lt;tt&gt;method&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpRequestHeader.html#path()&quot;&gt;&lt;tt&gt;path&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpRequestHeader.html#setRequest(java.lang.String, java.lang.String, int, int)&quot;&gt;&lt;tt&gt;setRequest&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public int minorVersion()" doc="/**
&lt;p&gt;Returns the minor protocol-version of the HTTP request header.&lt;/p&gt;

@see &lt;a href=&quot;QHttpRequestHeader.html#majorVersion()&quot;&gt;&lt;tt&gt;majorVersion&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpRequestHeader.html#method()&quot;&gt;&lt;tt&gt;method&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpRequestHeader.html#path()&quot;&gt;&lt;tt&gt;path&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QHttpRequestHeader.html#setRequest(java.lang.String, java.lang.String, int, int)&quot;&gt;&lt;tt&gt;setRequest&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>
