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
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJiraRestResponse
(int statusCode, String statusMessage, Errors errors, String body, com.opensymphony.webwork.dispatcher.json.JSONObject entity) JiraRestResponse
(String errorMessage) -
Method Summary
-
Field Details
-
statusCode
@NotNull public final @org.jetbrains.annotations.NotNull int statusCode -
statusMessage
-
errors
-
body
-
entity
@Nullable public final @Nullable com.opensymphony.webwork.dispatcher.json.JSONObject entity
-
-
Constructor Details
-
JiraRestResponse
-
JiraRestResponse
-
-
Method Details