org.openspaces.pu.container.support
Class WebsterResoruce
java.lang.Object
org.springframework.core.io.AbstractResource
org.springframework.core.io.AbstractFileResolvingResource
org.springframework.core.io.UrlResource
org.openspaces.pu.container.support.WebsterResoruce
- All Implemented Interfaces:
- InputStreamSource, Resource
public class WebsterResoruce
- extends UrlResource
A webster resource which holds a url to an actual content stored on GSM
webster. Extends UrlResource
in order
to allow to return WebsterFile
for getFile()
method.
WebsterFile
allows to list
"files" over webster http service. This allows to perform different scanning
over the processing unit content.
- Author:
- kimchy
WebsterResoruce
public WebsterResoruce(URL url)
WebsterResoruce
public WebsterResoruce(URI uri)
throws MalformedURLException
- Throws:
MalformedURLException
WebsterResoruce
public WebsterResoruce(String path)
throws MalformedURLException
- Throws:
MalformedURLException
getFile
public File getFile()
throws IOException
- Returns a
WebsterFile
over the given URL.
- Specified by:
getFile
in interface Resource
- Overrides:
getFile
in class UrlResource
- Throws:
IOException
Copyright © GigaSpaces.