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.booleanisAlive()Indicate if the static asset server is running.
-
Constructor Details
-
ServletStaticAssetServer
public ServletStaticAssetServer(javax.servlet.ServletContext servletContext)
-
-
Method Details
-
getBaseUrl
Description copied from interface:StaticAssetServerObtain the base URL for resolving static assets from the server.- Specified by:
getBaseUrlin interfaceStaticAssetServer
-
isAlive
public boolean isAlive()Description copied from interface:StaticAssetServerIndicate if the static asset server is running.- Specified by:
isAlivein interfaceStaticAssetServer
-
getLaunchInstruction
Description copied from interface:StaticAssetServerObtain launch instructions if the server is not running.- Specified by:
getLaunchInstructionin interfaceStaticAssetServer
-