Package ca.uhn.fhir.rest.server.method
Enum ResourceParameter.Mode
- java.lang.Object
-
- java.lang.Enum<ResourceParameter.Mode>
-
- ca.uhn.fhir.rest.server.method.ResourceParameter.Mode
-
- All Implemented Interfaces:
Serializable,Comparable<ResourceParameter.Mode>
- Enclosing class:
- ResourceParameter
public static enum ResourceParameter.Mode extends Enum<ResourceParameter.Mode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BODYBODY_BYTE_ARRAYENCODINGRESOURCE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceParameter.ModevalueOf(String name)Returns the enum constant of this type with the specified name.static ResourceParameter.Mode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BODY
public static final ResourceParameter.Mode BODY
-
BODY_BYTE_ARRAY
public static final ResourceParameter.Mode BODY_BYTE_ARRAY
-
ENCODING
public static final ResourceParameter.Mode ENCODING
-
RESOURCE
public static final ResourceParameter.Mode RESOURCE
-
-
Method Detail
-
values
public static ResourceParameter.Mode[] 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 (ResourceParameter.Mode c : ResourceParameter.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceParameter.Mode 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
-
-