- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QNetworkRequest.Attribute>
,Constable
- Enclosing class:
QNetworkRequest
Java wrapper for Qt enum QNetworkRequest::Attribute
- Since:
- This enum was introduced in Qt 4.7.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresentingQNetworkRequest::
AuthenticationReuseAttribute RepresentingQNetworkRequest::
AutoDeleteReplyOnFinishAttribute RepresentingQNetworkRequest::
BackgroundRequestAttribute RepresentingQNetworkRequest::
CacheLoadControlAttribute RepresentingQNetworkRequest::
CacheSaveControlAttribute RepresentingQNetworkRequest::
ConnectionEncryptedAttribute RepresentingQNetworkRequest::
CookieLoadControlAttribute RepresentingQNetworkRequest::
CookieSaveControlAttribute RepresentingQNetworkRequest::
CustomVerbAttribute RepresentingQNetworkRequest::
DoNotBufferUploadDataAttribute RepresentingQNetworkRequest::
DownloadBufferAttribute Deprecated.RepresentingQNetworkRequest::
Http2AllowedAttribute Deprecated.RepresentingQNetworkRequest::
Http2DirectAttribute RepresentingQNetworkRequest::
Http2WasUsedAttribute Deprecated.RepresentingQNetworkRequest::
HttpPipeliningAllowedAttribute RepresentingQNetworkRequest::
HttpPipeliningWasUsedAttribute RepresentingQNetworkRequest::
HttpReasonPhraseAttribute RepresentingQNetworkRequest::
HttpStatusCodeAttribute RepresentingQNetworkRequest::
MaximumDownloadBufferSizeAttribute RepresentingQNetworkRequest::
OriginalContentLengthAttribute RepresentingQNetworkRequest::
RedirectionTargetAttribute RepresentingQNetworkRequest::
RedirectPolicyAttribute RepresentingQNetworkRequest::
ResourceTypeAttribute RepresentingQNetworkRequest::
SourceIsFromCacheAttribute RepresentingQNetworkRequest::
SpdyAllowedAttribute RepresentingQNetworkRequest::
SpdyWasUsedAttribute RepresentingQNetworkRequest::
SynchronousRequestAttribute RepresentingQNetworkRequest::
User RepresentingQNetworkRequest::
UserMax -
Method Summary
Modifier and TypeMethodDescriptionstatic QNetworkRequest.Attribute
resolve
(int value) Returns the corresponding enum entry for the given value.static QNetworkRequest.Attribute
Returns the corresponding enum entry for the given value and name.int
value()
This function should return an integer value for the enum values of the enumeration that implements this interface.static QNetworkRequest.Attribute
Returns the enum constant of this type with the specified name.static QNetworkRequest.Attribute[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface io.qt.QtAbstractEnumerator
getDeclaringClass, name, ordinal
-
Enum Constant Details
-
HttpStatusCodeAttribute
Representing
QNetworkRequest::
HttpStatusCodeAttribute -
HttpReasonPhraseAttribute
Representing
QNetworkRequest::
HttpReasonPhraseAttribute -
RedirectionTargetAttribute
Representing
QNetworkRequest::
RedirectionTargetAttribute -
ConnectionEncryptedAttribute
Representing
QNetworkRequest::
ConnectionEncryptedAttribute -
CacheLoadControlAttribute
Representing
QNetworkRequest::
CacheLoadControlAttribute -
CacheSaveControlAttribute
Representing
QNetworkRequest::
CacheSaveControlAttribute -
SourceIsFromCacheAttribute
Representing
QNetworkRequest::
SourceIsFromCacheAttribute -
DoNotBufferUploadDataAttribute
Representing
QNetworkRequest::
DoNotBufferUploadDataAttribute -
HttpPipeliningAllowedAttribute
Representing
QNetworkRequest::
HttpPipeliningAllowedAttribute -
HttpPipeliningWasUsedAttribute
Representing
QNetworkRequest::
HttpPipeliningWasUsedAttribute -
CustomVerbAttribute
Representing
QNetworkRequest::
CustomVerbAttribute -
CookieLoadControlAttribute
Representing
QNetworkRequest::
CookieLoadControlAttribute -
AuthenticationReuseAttribute
Representing
QNetworkRequest::
AuthenticationReuseAttribute -
CookieSaveControlAttribute
Representing
QNetworkRequest::
CookieSaveControlAttribute -
MaximumDownloadBufferSizeAttribute
Representing
QNetworkRequest::
MaximumDownloadBufferSizeAttribute -
DownloadBufferAttribute
Representing
QNetworkRequest::
DownloadBufferAttribute -
SynchronousRequestAttribute
Representing
QNetworkRequest::
SynchronousRequestAttribute -
BackgroundRequestAttribute
Representing
QNetworkRequest::
BackgroundRequestAttribute -
SpdyAllowedAttribute
Representing
QNetworkRequest::
SpdyAllowedAttribute -
SpdyWasUsedAttribute
Representing
QNetworkRequest::
SpdyWasUsedAttribute -
EmitAllUploadProgressSignalsAttribute
-
FollowRedirectsAttribute
Deprecated. -
Http2AllowedAttribute
Representing
QNetworkRequest::
Http2AllowedAttribute -
Http2WasUsedAttribute
Representing
QNetworkRequest::
Http2WasUsedAttribute -
HTTP2AllowedAttribute
Deprecated. -
HTTP2WasUsedAttribute
Deprecated. -
OriginalContentLengthAttribute
Representing
QNetworkRequest::
OriginalContentLengthAttribute -
RedirectPolicyAttribute
Representing
QNetworkRequest::
RedirectPolicyAttribute -
Http2DirectAttribute
Representing
QNetworkRequest::
Http2DirectAttribute -
ResourceTypeAttribute
Representing
QNetworkRequest::
ResourceTypeAttribute -
AutoDeleteReplyOnFinishAttribute
Representing
QNetworkRequest::
AutoDeleteReplyOnFinishAttribute -
User
Representing
QNetworkRequest::
User -
UserMax
Representing
QNetworkRequest::
UserMax
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public int value()This function should return an integer value for the enum values of the enumeration that implements this interface. Default isEnum.ordinal()
.- Specified by:
value
in interfaceQtEnumerator
-
resolve
Returns the corresponding enum entry for the given value.- Parameters:
value
-- Returns:
- enum entry
- Throws:
QNoSuchEnumValueException
- if value not existent in the enum
-
resolve
Returns the corresponding enum entry for the given value and name.- Parameters:
value
-name
-- Returns:
- enum entry
- Throws:
QNoSuchEnumValueException
- if value not existent in the enum or name does not match.
-