Package com.atlassian.bamboo.jira.rest
Class JiraRestResponse
java.lang.Object
com.atlassian.bamboo.jira.rest.JiraRestResponse
Encapsulation of a REST response from JIRA.
If JIRA is playing nice you will get any errors marshalled into a nice object for you.
Also a json formatted response should also hopefully be marshalled into
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJiraRestResponse
(int statusCode, String statusMessage, Errors errors, String body, com.google.gson.JsonObject entity) JiraRestResponse
(String errorMessage) -
Method Summary
-
Field Details
-
statusCode
public final int statusCode -
statusMessage
-
errors
-
body
-
entity
@Nullable public final @Nullable com.google.gson.JsonObject entity
-
-
Constructor Details
-
JiraRestResponse
-
JiraRestResponse
-
-
Method Details