Package ubic.gemma.web.assets
Class StaticAssetResolver
java.lang.Object
ubic.gemma.web.assets.StaticAssetResolver
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Component
public class StaticAssetResolver
extends Object
implements org.springframework.beans.factory.InitializingBean
Resolve static assets either froma
InternalStaticAssetServer or from the webapp resources.- Author:
- poirigui
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidString[]Resource directories that are allowed to be served.org.springframework.core.env.EnvironmentresolveUrl(String path) Resolve a URL to a static asset.
-
Constructor Details
-
StaticAssetResolver
public StaticAssetResolver()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
resolveUrl
Resolve a URL to a static asset. -
getAllowedDirs
Resource directories that are allowed to be served. -
getStaticAssetServer
-
getEnvironment
public org.springframework.core.env.Environment getEnvironment()
-