|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.network.QNetworkRequest.KnownHeaders
public static final class QNetworkRequest.KnownHeaders
List of known header types that QNetworkRequest
parses. Each known header is also represented in raw form with its full HTTP name.
header()
, setHeader()
, rawHeader()
, and setRawHeader()
.
Field Summary | |
---|---|
static QNetworkRequest.KnownHeaders |
ContentLengthHeader
corresponds to the HTTP Content-Length header and contains the length in bytes of the data transmitted. |
static QNetworkRequest.KnownHeaders |
ContentTypeHeader
corresponds to the HTTP Content-Type header and contains a string containing the media (MIME) type and any auxiliary data (for instance, charset) |
static QNetworkRequest.KnownHeaders |
CookieHeader
corresponds to the HTTP Cookie header and contains a QList< QNetworkCookie > representing the cookies to be sent back to the server |
static QNetworkRequest.KnownHeaders |
LastModifiedHeader
corresponds to the HTTP Last-Modified header and contains a QDateTime representing the last modification date of the contents |
static QNetworkRequest.KnownHeaders |
LocationHeader
corresponds to the HTTP Location header and contains a URL representing the actual location of the data, including the destination URL in case of redirections. |
static QNetworkRequest.KnownHeaders |
SetCookieHeader
corresponds to the HTTP Set-Cookie header and contains a QList< QNetworkCookie > representing the cookies sent by the server to be stored locally |
Method Summary | |
---|---|
static QNetworkRequest.KnownHeaders |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QNetworkRequest.KnownHeaders |
valueOf(java.lang.String name)
|
static QNetworkRequest.KnownHeaders[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QNetworkRequest.KnownHeaders ContentTypeHeader
public static final QNetworkRequest.KnownHeaders ContentLengthHeader
public static final QNetworkRequest.KnownHeaders LocationHeader
public static final QNetworkRequest.KnownHeaders LastModifiedHeader
QDateTime
representing the last modification date of the contents
public static final QNetworkRequest.KnownHeaders CookieHeader
QNetworkCookie
> representing the cookies to be sent back to the server
public static final QNetworkRequest.KnownHeaders SetCookieHeader
QNetworkCookie
> representing the cookies sent by the server to be stored locally
Method Detail |
---|
public static QNetworkRequest.KnownHeaders[] values()
public static QNetworkRequest.KnownHeaders valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QNetworkRequest.KnownHeaders resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |