Uses of Enum Class
com.postman.collection.enumHTTPRequestMethod
Package
Description
Encapsulates a Postman JSON collection and emulates functionality of the Postman SDK.
-
Uses of enumHTTPRequestMethod in com.postman.collection
Modifier and TypeMethodDescriptionRequestBody.getMethod()
Return the enumerated value of themethod
propertystatic enumHTTPRequestMethod
Returns the enum constant of this class with the specified name.static enumHTTPRequestMethod[]
enumHTTPRequestMethod.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
RequestBody.setMethod
(enumHTTPRequestMethod method) Set the value of themethod
propertyModifierConstructorDescriptionRequestBody
(enumHTTPRequestMethod method, Url url) Construct a RequestBody with the specified HTTP method, and Url.RequestBody
(enumHTTPRequestMethod method, String URL) Construct a RequestBody object from a raw URL.RequestBody
(enumHTTPRequestMethod method, String host, String path) Construct a RequestBody with the specified HTTP method, host and path.