public class ResourceUrlCreator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected DownloadOptions |
downloadOptions |
protected Resource |
resource |
Constructor and Description |
---|
ResourceUrlCreator(Resource resource,
DownloadOptions downloadOptions) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.net.URL> |
getUrls()
Returns a list of URLs that the resources might be downloadable from.
|
protected java.net.URL |
getVersionedUrl()
Returns the URL for this resource, including the resource's version
number in the query string
|
protected final Resource resource
protected final DownloadOptions downloadOptions
public ResourceUrlCreator(Resource resource, DownloadOptions downloadOptions)
public java.util.List<java.net.URL> getUrls()
protected java.net.URL getVersionedUrl()