doc.com.rallydev.rest.response.Response.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rally-rest-api Show documentation
Show all versions of rally-rest-api Show documentation
A java toolkit for interacting with the Rally Rest API
Response (Rally Rest API for Java 2.1)
com.rallydev.rest.response
Class Response
- java.lang.Object
-
- com.rallydev.rest.response.Response
-
- Direct Known Subclasses:
- CreateResponse, DeleteResponse, GetResponse, QueryResponse, UpdateResponse
public abstract class Response
extends Object
Represents a WSAPI response.
-
-
Constructor Summary
Constructors
Constructor and Description
Response(String response)
Create a new response from the specified JSON encoded string.
-
Method Summary
Methods
Modifier and Type
Method and Description
String[]
getErrors()
Get any errors returned in the response.
String[]
getWarnings()
Get any warnings returned in the response.
boolean
wasSuccessful()
Returns whether the response was successful (no errors)
-
-
Constructor Detail
-
Response
public Response(String response)
Create a new response from the specified JSON encoded string.
- Parameters:
response
- the JSON encoded string
-
Method Detail
-
wasSuccessful
public boolean wasSuccessful()
Returns whether the response was successful (no errors)
- Returns:
- whether the response was successful
-
getErrors
public String[] getErrors()
Get any errors returned in the response.
- Returns:
- the response errors
-
getWarnings
public String[] getWarnings()
Get any warnings returned in the response.
- Returns:
- the response warnings
© 2015 - 2025 Weber Informatics LLC | Privacy Policy