Uses of Class
com.postman.collection.Response
Packages that use Response
Package
Description
Encapsulates a Postman JSON collection and emulates functionality of the Postman SDK.
-
Uses of Response in com.postman.collection
Methods in com.postman.collection that return types with arguments of type ResponseModifier and TypeMethodDescriptionRequest.getResponses()Return an ArrayList<Response> containing the values in theresponseproperty array, or null if none are defined.Methods in com.postman.collection with parameters of type ResponseModifier and TypeMethodDescriptionCollection.addRequest(RequestBody reqElement, String name, Response response) Create and add a newrequestas a top level child item of this collection.voidRequest.addResponse(Response resp) Add a Response object to theresponsearrayvoidRequest.addResponse(String requestKey, Response response) Add a response object to the request contained by this collection specified byrequestKeyMethod parameters in com.postman.collection with type arguments of type ResponseModifier and TypeMethodDescriptionCollection.addRequest(RequestBody newRequest, String name, ArrayList<Response> responses) Convenience method to add a request with a pre-constructed ArrayList<Response> of response items.voidRequest.setResponses(ArrayList<Response> response) Set the ArrayList<Response> containing the values in theresponseproperty array.