Package com.google.gerrit.httpd.raw
Class StaticModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- com.google.inject.servlet.ServletModule
-
- com.google.gerrit.httpd.raw.StaticModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class StaticModule extends com.google.inject.servlet.ServletModule
-
-
Field Summary
Fields Modifier and Type Field Description static String
CACHE
static com.google.common.collect.ImmutableList<String>
POLYGERRIT_INDEX_PATHS
Paths at which we should serve the main PolyGerrit applicationindex.html
.
-
Constructor Summary
Constructors Constructor Description StaticModule(GerritOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureServlets()
-
Methods inherited from class com.google.inject.servlet.ServletModule
configure, filter, filter, filterRegex, filterRegex, getServletContext, serve, serve, serveRegex, serveRegex
-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Field Detail
-
CACHE
public static final String CACHE
- See Also:
- Constant Field Values
-
POLYGERRIT_INDEX_PATHS
public static final com.google.common.collect.ImmutableList<String> POLYGERRIT_INDEX_PATHS
Paths at which we should serve the main PolyGerrit applicationindex.html
.Supports
"/*"
as a trailing wildcard.
-
-
Constructor Detail
-
StaticModule
@Inject public StaticModule(GerritOptions options)
-
-