Uses of Class
com.postman.collection.IllegalPropertyAccessException
Packages that use IllegalPropertyAccessException
Package
Description
Encapsulates a Postman JSON collection and emulates functionality of the Postman SDK.
-
Uses of IllegalPropertyAccessException in com.postman.collection
Methods in com.postman.collection that throw IllegalPropertyAccessExceptionModifier and TypeMethodDescriptionvoidCollection.addCollection(Collection newColl) Add another collection and it's array ofitem,variable, andeventarrays to this collection in a new Folder.voidCollection.addCollection(Collection newColl, boolean copyScripts, boolean copyVariables) Add another collection and it's array ofitem, optionallyvariable, and optionallyeventarrays to this collection as children of a new Folder child item of this collection.voidCollection.addCollection(Collection newColl, ItemGroup parent) Add another collection and it's array ofitem,variable, andeventarrays to this collection as children ofparentvoidCollection.addCollection(Collection newColl, ItemGroup parent, boolean copyScripts, boolean copyVariables) Add another collection and it's array ofitem, optionallyvariable, and optionallyeventarrays to this collection as children of the specified parent.Convenience method to add an item with no child items to this collection.Convenience method to add an item with no child items to this collection.voidAppend a new direct child item to the array of items in theitemproperty.voidAdd a new direct child item to the array of items in theitemproperty at the specified index.voidAdd multiple items to this item.Collection.addRequest(RequestBody reqElement, String name) Convenience method to add a newrequestitem as a top level child item of this collectionCollection.addRequest(RequestBody reqElement, String name, int position) Add a new request to this collection at the specified position in the array ofrequestelementsCollection.addRequest(RequestBody reqElement, String name, Response response) Create and add a newrequestas a top level child item of this collection.Collection.addRequest(RequestBody newRequest, String name, ArrayList<Response> responses) Convenience method to add a request with a pre-constructed ArrayList<Response> of response items.Collection.addRequest(String url) Create and add a newrequestas a top level child item of this collection.BodyElement.getFile()Returns the value of thefile/srcproperty, the path to the fileBodyElement.getFormdata()Returns an ArrayList<Property> containing formdata paramters:BodyElement.getFormdata(int position) Returns aPropertycontaining formdata property at the specified position in the arrayBodyElement.getGraphql()Return an HashMap<String, String> containing the GraphQL query and variables source code.Url.getQueryElement(int index) BodyElement.getRaw()Returns the content of therawproperty of the body, or null if it has not been setBodyElement.getRawLanguage()Returns the enumerated value of thelanguageproperty of theoptionspropertyvoidBodyElement.removeFormData(int position) Removes the formdata element at the specified position in the formdata arrayvoidBodyElement.removeFormData(Property data) Removes the formdata element at the specified position in the formdata arrayvoidBodyElement.setFormdata(Property data) Sets an element of the formdata or urlencoded property arrayvoidBodyElement.setFormdata(PropertyList<Property> data) Convenience method to set the formdata with an already filled ArrayList<Property> of propertiesvoidBodyElement.setFormdata(String key, String value, String description) Add a formdata element by string valuesvoidUrl.setQueryELement(Property element, int index) voidSets therawproperty of the body, or null if it has not been setvoidBodyElement.setRaw(String raw, enumRawBodyLanguage language) Sets the content (raw) and thelanguageproperty of theoptionsobjectvoidBodyElement.setRawLanguage(enumRawBodyLanguage lang) Sets thelangaugeproperty of theoptionsproperty