Package org.opennms.web.assets.api
Interface AssetLocator
-
- All Superinterfaces:
org.springframework.web.servlet.resource.ResourceResolver
- All Known Implementing Classes:
AssetLocatorImpl
public interface AssetLocator extends org.springframework.web.servlet.resource.ResourceResolver
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<String>getAssets()Collection<String>getAssets(boolean minified)Optional<AssetResource>getResource(String asset, String type)Optional<AssetResource>getResource(String asset, String type, boolean minified)Optional<Collection<AssetResource>>getResources(String asset)Optional<Collection<AssetResource>>getResources(String asset, boolean minified)longlastModified()Optional<InputStream>open(String asset, String type)Optional<InputStream>open(String asset, String type, boolean minified)voidreload()
-
-
-
Method Detail
-
reload
void reload()
-
lastModified
long lastModified()
-
getAssets
Collection<String> getAssets()
-
getAssets
Collection<String> getAssets(boolean minified)
-
getResources
Optional<Collection<AssetResource>> getResources(String asset)
-
getResources
Optional<Collection<AssetResource>> getResources(String asset, boolean minified)
-
getResource
Optional<AssetResource> getResource(String asset, String type)
-
getResource
Optional<AssetResource> getResource(String asset, String type, boolean minified)
-
open
Optional<InputStream> open(String asset, String type) throws IOException
- Throws:
IOException
-
open
Optional<InputStream> open(String asset, String type, boolean minified) throws IOException
- Throws:
IOException
-
-