|
|||||||||
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.QNetworkCookie.RawForm
public static final class QNetworkCookie.RawForm
This enum is used with the toRawForm()
function to declare which form of a cookie shall be returned. Note that only the Full form of the cookie can be parsed back into its original contents.
toRawForm()
, and parseCookies()
.
Field Summary | |
---|---|
static QNetworkCookie.RawForm |
Full
makes toRawForm() return the full cookie contents, as suitable for sending to a client in a server's "Set-Cookie:" header. |
static QNetworkCookie.RawForm |
NameAndValueOnly
makes toRawForm() return only the "NAME=VALUE" part of the cookie, as suitable for sending back to a server in a client request's "Cookie:" header. |
Method Summary | |
---|---|
static QNetworkCookie.RawForm |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QNetworkCookie.RawForm |
valueOf(java.lang.String name)
|
static QNetworkCookie.RawForm[] |
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 QNetworkCookie.RawForm NameAndValueOnly
toRawForm()
return only the "NAME=VALUE" part of the cookie, as suitable for sending back to a server in a client request's "Cookie:" header. Multiple cookies are separated by a semi-colon in the "Cookie:" header field.
public static final QNetworkCookie.RawForm Full
toRawForm()
return the full cookie contents, as suitable for sending to a client in a server's "Set-Cookie:" header. Multiple cookies are separated by commas in a "Set-Cookie:" header.
Method Detail |
---|
public static QNetworkCookie.RawForm[] values()
public static QNetworkCookie.RawForm valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QNetworkCookie.RawForm resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |