Uses of Class
com.postman.collection.BodyElement
Package
Description
Encapsulates a Postman JSON collection and emulates functionality of the Postman SDK.
-
Uses of BodyElement in com.postman.collection
Modifier and TypeMethodDescriptionRequestBody.getBody()
Return the PostmanBody object containing the values in thebody
property object, or null if it has not been set.RequestBody.setBody
(enumRequestBodyMode bodyMode) Populate thebody
array with an emptybody
property object with the specifiedmode
value.RequestBody.setBody
(enumRequestBodyMode bodyMode, String rawContent) Populate thebody
array with the specified body content.Modifier and TypeMethodDescriptionvoid
RequestBody.setBody
(BodyElement body) Set the value of thebody
property object