I am calling one API which supports get call to download a file. But when I call resolveFile metthod of FileSystemManager it calls HEAD method by default. Can anybody tell me how to call a HTTP GET in Commons VFS ? Some way to set request method like we have it in HttpURLConnection?
FileObject fileObject = VFS.getManager().resolveFile("http://somedownloadurl");// This calls HTTP HEAD. How to make it call HTTP GET