Class QHttpServerRequest.Methods
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<QHttpServerRequest.Methods>
- Enclosing class:
QHttpServerRequest
public static final class QHttpServerRequest.Methods
extends QFlags<QHttpServerRequest.Method>
implements Comparable<QHttpServerRequest.Methods>
QFlags type for enum QHttpServerRequest.Method- Since:
- This class was introduced in Qt 6.4.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMethods()Creates a new Methods.Methods(int value) Creates a new Methods with givenvalue.Methods(QHttpServerRequest.Method ... args) Creates a new Methods where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intfinal QHttpServerRequest.Method []flags()Returns an array of flag objects represented by this Methods.Sets the flagesetFlag(QHttpServerRequest.Method e, boolean on) Sets or clears the flagflagfinal voidsetValue(int value) Sets the value of this QFlags.final intvalue()Returns the value of this QFlags.
-
Constructor Details
-
Methods
public Methods()Creates a new Methods. -
Methods
Creates a new Methods where the flags inargsare set.- Parameters:
args- enum entries
-
Methods
public Methods(int value) Creates a new Methods with givenvalue.- Parameters:
value-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combinedin classQFlags<QHttpServerRequest.Method>- Parameters:
e- enum entry- Returns:
- new Methods
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QHttpServerRequest.Method>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin classQFlags<QHttpServerRequest.Method>- Parameters:
e- enum entryon- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this Methods.- Overrides:
flagsin classQFlags<QHttpServerRequest.Method>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QHttpServerRequest.Method>
-
compareTo
- Specified by:
compareToin interfaceComparable<QHttpServerRequest.Methods>
-
value
public final int value()Returns the value of this QFlags. -
setValue
public final void setValue(int value) Sets the value of this QFlags.- Parameters:
value- new value
-