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:
org.springframework.core.io.InputStreamSource,org.springframework.core.io.Resource
public class WebsterResoruce
extends org.springframework.core.io.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
-
Constructor Summary
ConstructorsConstructorDescriptionWebsterResoruce(String path) WebsterResoruce(URI uri) WebsterResoruce(URL url) -
Method Summary
Methods inherited from class org.springframework.core.io.UrlResource
createRelative, createRelativeURL, customizeConnection, equals, from, from, getDescription, getFilename, getInputStream, getURI, getURL, hashCode, isFile, setUseCachesMethods inherited from class org.springframework.core.io.AbstractFileResolvingResource
contentLength, customizeConnection, exists, getFile, getFileForLastModifiedCheck, isFile, isReadable, lastModified, readableChannelMethods inherited from class org.springframework.core.io.AbstractResource
isOpen, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.core.io.Resource
getContentAsByteArray, getContentAsString
-
Constructor Details
-
WebsterResoruce
-
WebsterResoruce
- Throws:
MalformedURLException
-
WebsterResoruce
- Throws:
MalformedURLException
-
-
Method Details
-
getFile
Returns aWebsterFileover the given URL.- Specified by:
getFilein interfaceorg.springframework.core.io.Resource- Overrides:
getFilein classorg.springframework.core.io.UrlResource- Throws:
IOException
-