java.lang.Object
com.atlassian.jira.plugins.auditing.rest.RestCall

public class RestCall extends Object
  • Constructor Details

    • RestCall

      public RestCall(org.apache.log4j.Logger logger)
  • Method Details

    • response

      public javax.ws.rs.core.Response response(Callable<javax.ws.rs.core.Response> callable)
      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