Enum HTTPMethod
- java.lang.Object
-
- java.lang.Enum<HTTPMethod>
-
- com._1c.g5.v8.dt.metadata.mdclass.HTTPMethod
-
- All Implemented Interfaces:
Serializable,Comparable<HTTPMethod>,org.eclipse.emf.common.util.Enumerator
public enum HTTPMethod extends Enum<HTTPMethod> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'HTTP Method', and utility methods for working with them.- See Also:
MdClassPackage.getHTTPMethod()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANYThe 'Any' literal object.CONNECTThe 'CONNECT' literal object.COPYThe 'COPY' literal object.DELETEThe 'DELETE' literal object.GETThe 'GET' literal object.LOCKThe 'LOCK' literal object.MERGEThe 'MERGE' literal object.MKCOLThe 'MKCOL' literal object.MOVEThe 'MOVE' literal object.OPTIONSThe 'OPTIONS' literal object.PATCHThe 'PATCH' literal object.POSTThe 'POST' literal object.PROPFINDThe 'PROPFIND' literal object.PROPPATCHThe 'PROPPATCH' literal object.PUTThe 'PUT' literal object.TRACEThe 'TRACE' literal object.UNLOCKThe 'UNLOCK' literal object.
-
Field Summary
Fields Modifier and Type Field Description static intANY_VALUEThe 'Any' literal value.static intCONNECT_VALUEThe 'CONNECT' literal value.static intCOPY_VALUEThe 'COPY' literal value.static intDELETE_VALUEThe 'DELETE' literal value.static intGET_VALUEThe 'GET' literal value.static intLOCK_VALUEThe 'LOCK' literal value.static intMERGE_VALUEThe 'MERGE' literal value.static intMKCOL_VALUEThe 'MKCOL' literal value.static intMOVE_VALUEThe 'MOVE' literal value.static intOPTIONS_VALUEThe 'OPTIONS' literal value.static intPATCH_VALUEThe 'PATCH' literal value.static intPOST_VALUEThe 'POST' literal value.static intPROPFIND_VALUEThe 'PROPFIND' literal value.static intPROPPATCH_VALUEThe 'PROPPATCH' literal value.static intPUT_VALUEThe 'PUT' literal value.static intTRACE_VALUEThe 'TRACE' literal value.static intUNLOCK_VALUEThe 'UNLOCK' literal value.static List<HTTPMethod>VALUESA public read-only list of all the 'HTTP Method' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HTTPMethodget(int value)Returns the 'HTTP Method' literal with the specified integer value.static HTTPMethodget(String literal)Returns the 'HTTP Method' literal with the specified literal value.static HTTPMethodgetByName(String name)Returns the 'HTTP Method' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static HTTPMethodvalueOf(String name)Returns the enum constant of this type with the specified name.static HTTPMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GET
public static final HTTPMethod GET
The 'GET' literal object.- See Also:
GET_VALUE
-
PUT
public static final HTTPMethod PUT
The 'PUT' literal object.- See Also:
PUT_VALUE
-
POST
public static final HTTPMethod POST
The 'POST' literal object.- See Also:
POST_VALUE
-
DELETE
public static final HTTPMethod DELETE
The 'DELETE' literal object.- See Also:
DELETE_VALUE
-
PATCH
public static final HTTPMethod PATCH
The 'PATCH' literal object.- See Also:
PATCH_VALUE
-
MERGE
public static final HTTPMethod MERGE
The 'MERGE' literal object.- See Also:
MERGE_VALUE
-
OPTIONS
public static final HTTPMethod OPTIONS
The 'OPTIONS' literal object.- See Also:
OPTIONS_VALUE
-
TRACE
public static final HTTPMethod TRACE
The 'TRACE' literal object.- See Also:
TRACE_VALUE
-
CONNECT
public static final HTTPMethod CONNECT
The 'CONNECT' literal object.- See Also:
CONNECT_VALUE
-
PROPFIND
public static final HTTPMethod PROPFIND
The 'PROPFIND' literal object.- See Also:
PROPFIND_VALUE
-
PROPPATCH
public static final HTTPMethod PROPPATCH
The 'PROPPATCH' literal object.- See Also:
PROPPATCH_VALUE
-
MOVE
public static final HTTPMethod MOVE
The 'MOVE' literal object.- See Also:
MOVE_VALUE
-
COPY
public static final HTTPMethod COPY
The 'COPY' literal object.- See Also:
COPY_VALUE
-
LOCK
public static final HTTPMethod LOCK
The 'LOCK' literal object.- See Also:
LOCK_VALUE
-
UNLOCK
public static final HTTPMethod UNLOCK
The 'UNLOCK' literal object.- See Also:
UNLOCK_VALUE
-
MKCOL
public static final HTTPMethod MKCOL
The 'MKCOL' literal object.- See Also:
MKCOL_VALUE
-
ANY
public static final HTTPMethod ANY
The 'Any' literal object.- See Also:
ANY_VALUE
-
-
Field Detail
-
GET_VALUE
public static final int GET_VALUE
The 'GET' literal value.- See Also:
GET, Constant Field Values
-
PUT_VALUE
public static final int PUT_VALUE
The 'PUT' literal value.- See Also:
PUT, Constant Field Values
-
POST_VALUE
public static final int POST_VALUE
The 'POST' literal value.- See Also:
POST, Constant Field Values
-
DELETE_VALUE
public static final int DELETE_VALUE
The 'DELETE' literal value.- See Also:
DELETE, Constant Field Values
-
PATCH_VALUE
public static final int PATCH_VALUE
The 'PATCH' literal value.- See Also:
PATCH, Constant Field Values
-
MERGE_VALUE
public static final int MERGE_VALUE
The 'MERGE' literal value.- See Also:
MERGE, Constant Field Values
-
OPTIONS_VALUE
public static final int OPTIONS_VALUE
The 'OPTIONS' literal value.- See Also:
OPTIONS, Constant Field Values
-
TRACE_VALUE
public static final int TRACE_VALUE
The 'TRACE' literal value.- See Also:
TRACE, Constant Field Values
-
CONNECT_VALUE
public static final int CONNECT_VALUE
The 'CONNECT' literal value.- See Also:
CONNECT, Constant Field Values
-
PROPFIND_VALUE
public static final int PROPFIND_VALUE
The 'PROPFIND' literal value.- See Also:
PROPFIND, Constant Field Values
-
PROPPATCH_VALUE
public static final int PROPPATCH_VALUE
The 'PROPPATCH' literal value.- See Also:
PROPPATCH, Constant Field Values
-
MOVE_VALUE
public static final int MOVE_VALUE
The 'MOVE' literal value.- See Also:
MOVE, Constant Field Values
-
COPY_VALUE
public static final int COPY_VALUE
The 'COPY' literal value.- See Also:
COPY, Constant Field Values
-
LOCK_VALUE
public static final int LOCK_VALUE
The 'LOCK' literal value.- See Also:
LOCK, Constant Field Values
-
UNLOCK_VALUE
public static final int UNLOCK_VALUE
The 'UNLOCK' literal value.- See Also:
UNLOCK, Constant Field Values
-
MKCOL_VALUE
public static final int MKCOL_VALUE
The 'MKCOL' literal value.- See Also:
MKCOL, Constant Field Values
-
ANY_VALUE
public static final int ANY_VALUE
The 'Any' literal value.- See Also:
ANY, Constant Field Values
-
VALUES
public static final List<HTTPMethod> VALUES
A public read-only list of all the 'HTTP Method' enumerators.
-
-
Method Detail
-
values
public static HTTPMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HTTPMethod c : HTTPMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HTTPMethod valueOf(String name)
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
-
get
public static HTTPMethod get(String literal)
Returns the 'HTTP Method' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
public static HTTPMethod getByName(String name)
Returns the 'HTTP Method' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
public static HTTPMethod get(int value)
Returns the 'HTTP Method' literal with the specified integer value.- Parameters:
value- the integer value.- Returns:
- the matching enumerator or
null.
-
getValue
public int getValue()
- Specified by:
getValuein interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteralin interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toStringin classEnum<HTTPMethod>
-
-