I'm trying to load a HTTP zip file with UrlResource
:
new UrlResource("url:http://www.my-path.to/file.zip")
Result.
Caused by: java.io.FileNotFoundException: URL [http://www.my-path.to/file.zip] cannot be resolved to absolute file path because it does not reside in the file system.
What is the correct way of loading a HTTP file with the Resource
interface?
I later on want to add that Resource to an ItemReader
for Spring Batch.