Uses of Class
com.postman.collection.Request
Packages that use Request
Package
Description
Encapsulates a Postman JSON collection and emulates functionality of the Postman SDK.
-
Uses of Request in com.postman.collection
Methods in com.postman.collection that return RequestModifier and TypeMethodDescriptionCollection.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.Collection.getRequest(String name) Return a request from this Collectionsitemproperty, or null if it doesn't exist.ItemGroup.getRequest(String key)