Interface StaticSiteServiceDefinition
- 
@Immutable public interface StaticSiteServiceDefinitionA definition of aStaticSiteServicethat should be registered to aServer. Provide it from aModuleto allow automatic registration. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStaticSiteServiceDefinition.Builder 
- 
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.StringclasspathRoot()The root directory in the classpath to serve resources from.default java.lang.StringstaticPath()The URL path underurlRoot()from which static resources will be served.default java.lang.StringurlRoot()The URL root to serve the site from. 
 - 
 
- 
- 
Method Detail
- 
urlRoot
default java.lang.String urlRoot()
The URL root to serve the site from. Defaults to "/". 
- 
classpathRoot
java.lang.String classpathRoot()
The root directory in the classpath to serve resources from. 
- 
staticPath
default java.lang.String staticPath()
The URL path underurlRoot()from which static resources will be served. Defaults to "/static". 
 - 
 
 -