Package ubic.gemma.web.assets
Class ServletStaticAssetServer
java.lang.Object
ubic.gemma.web.assets.ServletStaticAssetServer
- All Implemented Interfaces:
StaticAssetServer
Serve static assets from the servlet context.
- Author:
- poirigui
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObtain the base URL for resolving static assets from the server.Obtain launch instructions if the server is not running.boolean
isAlive()
Indicate if the static asset server is running.
-
Constructor Details
-
ServletStaticAssetServer
public ServletStaticAssetServer(javax.servlet.ServletContext servletContext)
-
-
Method Details
-
getBaseUrl
Description copied from interface:StaticAssetServer
Obtain the base URL for resolving static assets from the server.- Specified by:
getBaseUrl
in interfaceStaticAssetServer
-
isAlive
public boolean isAlive()Description copied from interface:StaticAssetServer
Indicate if the static asset server is running.- Specified by:
isAlive
in interfaceStaticAssetServer
-
getLaunchInstruction
Description copied from interface:StaticAssetServer
Obtain launch instructions if the server is not running.- Specified by:
getLaunchInstruction
in interfaceStaticAssetServer
-