A generic REST service for Taverna Workbench (modified with the Adapter pattern)
- Added
HTTPRequestHandlerAdapterclass. - Added
RESTActivity#createHTTPRequestHandlerAdaptermethod. - Modified
RESTActivity#executeAsyncmethod so that calls toHTTPRequestHandler#initiateHTTPRequestmethod include result ofRESTActivity#createHTTPRequestHandlerAdaptermethod. - Added
HTTPRequestHandler#initiateHTTPRequestmethod withHTTPRequestHandlerAdapterparameter. - Re-factored old
HTTPRequestHandler#initiateHTTPRequestmethod to maintain backwards compatibility. - Modified signatures for
HTTPRequestHandlerprivate methods to includeHTTPRequestHandlerAdapterparameter. - Added call to
HTTPRequestHandlerAdapter#modifytoHTTPRequestHandler#initiateHTTPRequestmethod. - Added call to
HTTPRequestHandlerAdapter#finalizetoHTTPRequestHandler#performHTTPRequestmethod.