A generic REST service for Taverna Workbench (modified with the Adapter pattern)
- Added
HTTPRequestHandlerAdapter
class. - Added
RESTActivity#createHTTPRequestHandlerAdapter
method. - Modified
RESTActivity#executeAsync
method so that calls toHTTPRequestHandler#initiateHTTPRequest
method include result ofRESTActivity#createHTTPRequestHandlerAdapter
method. - Added
HTTPRequestHandler#initiateHTTPRequest
method withHTTPRequestHandlerAdapter
parameter. - Re-factored old
HTTPRequestHandler#initiateHTTPRequest
method to maintain backwards compatibility. - Modified signatures for
HTTPRequestHandler
private methods to includeHTTPRequestHandlerAdapter
parameter. - Added call to
HTTPRequestHandlerAdapter#modify
toHTTPRequestHandler#initiateHTTPRequest
method. - Added call to
HTTPRequestHandlerAdapter#finalize
toHTTPRequestHandler#performHTTPRequest
method.