public class StaticModule
extends com.google.inject.servlet.ServletModule
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CACHE |
static java.lang.String |
GERRIT_UI_COOKIE |
static com.google.common.collect.ImmutableList<java.lang.String> |
POLYGERRIT_INDEX_PATHS
Paths at which we should serve the main PolyGerrit application
index.html . |
Constructor and Description |
---|
StaticModule(GerritOptions options) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureServlets() |
configure, filter, filter, filterRegex, filterRegex, getServletContext, serve, serve, serveRegex, serveRegex
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public static final java.lang.String CACHE
public static final java.lang.String GERRIT_UI_COOKIE
public static final com.google.common.collect.ImmutableList<java.lang.String> POLYGERRIT_INDEX_PATHS
index.html
.
Supports "/*"
as a trailing wildcard.
@Inject public StaticModule(GerritOptions options)