Package ca.uhn.fhir.rest.api
Enum RequestTypeEnum
- java.lang.Object
-
- java.lang.Enum<RequestTypeEnum>
-
- ca.uhn.fhir.rest.api.RequestTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<RequestTypeEnum>
public enum RequestTypeEnum extends Enum<RequestTypeEnum>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RequestTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static RequestTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONNECT
public static final RequestTypeEnum CONNECT
-
DELETE
public static final RequestTypeEnum DELETE
-
GET
public static final RequestTypeEnum GET
-
OPTIONS
public static final RequestTypeEnum OPTIONS
-
PATCH
public static final RequestTypeEnum PATCH
-
POST
public static final RequestTypeEnum POST
-
PUT
public static final RequestTypeEnum PUT
-
TRACE
public static final RequestTypeEnum TRACE
-
TRACK
public static final RequestTypeEnum TRACK
-
HEAD
public static final RequestTypeEnum HEAD
-
-
Method Detail
-
values
public static RequestTypeEnum[] 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 (RequestTypeEnum c : RequestTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequestTypeEnum 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
-
-