Package dev.galasa.zosmf
Enum Class IZosmf.ZosmfRequestType
- All Implemented Interfaces:
Serializable
,Comparable<IZosmf.ZosmfRequestType>
,Constable
- Enclosing interface:
- IZosmf
Enumeration of zOSMF request types
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDELETE method with no request bodyGET method with no request bodyPOST method with no request bodyPOST method with JSON request bodyPUT method with no request bodyPUT method with byte[] request bodyPUT method with JSON request bodyPUT method with TEXT request body -
Method Summary
Modifier and TypeMethodDescriptionstatic IZosmf.ZosmfRequestType
Returns the enum constant of this class with the specified name.static IZosmf.ZosmfRequestType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
POST
POST method with no request body -
POST_JSON
POST method with JSON request body -
GET
GET method with no request body -
PUT
PUT method with no request body -
PUT_TEXT
PUT method with TEXT request body -
PUT_JSON
PUT method with JSON request body -
PUT_BINARY
PUT method with byte[] request body -
DELETE
DELETE method with no request body
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-