You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to use a custom implementation of DownloadSupport in a GebSpec, but I found it quite difficult to replace the default implementation.
The best approach I could come up with was to create a Trait that implements DownloadSupport, essentially duplicating most of the functionality from DefaultDownloadSupport while modifying just one detail: the private URL resolveUrl(Map) method.
If resolveUrl(Map) wasn't private, or if there were a more straightforward way to override or swap the DownloadSupport implementation, this process would be much simpler and more flexible.