Class RestCall
java.lang.Object
com.atlassian.greenhopper.web.util.RestCall
Jira by default does not log REST call failures in atlassian-jira.log. So we now have a wrapper invoker class
to make the rest call and log any errors. This will ensure that they go to the JIRA log and the
GreenHopper log (if you use a com.atlassian.greenhopper logger say) and this will help with support as well.
- Since:
- 5.8.7
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RestCall
-
-
Method Details
-
response
This will invoke the Callable and return the response to the callee. If an exception occurs it will log that into the appropriate logger.- Parameters:
callable
- the REST call code that will respond to the rest call- Returns:
- a REST
Response
-