Search in sources :

Example 1 with JettyModule

use of com.google.gerrit.pgm.http.jetty.JettyModule in project gerrit by GerritCodeReview.

the class Daemon method createHttpdInjector.

private Injector createHttpdInjector() {
    final List<Module> modules = new ArrayList<>();
    modules.add(new JettyModule(new JettyEnv(webInjector)));
    return webInjector.createChildInjector(modules);
}
Also used : JettyEnv(com.google.gerrit.pgm.http.jetty.JettyEnv) ArrayList(java.util.ArrayList) JettyModule(com.google.gerrit.pgm.http.jetty.JettyModule) AuthConfigModule(com.google.gerrit.server.config.AuthConfigModule) Module(com.google.inject.Module) CanonicalWebUrlModule(com.google.gerrit.server.config.CanonicalWebUrlModule) DummyIndexModule(com.google.gerrit.server.index.DummyIndexModule) GerritGlobalModule(com.google.gerrit.server.config.GerritGlobalModule) LuceneIndexModule(com.google.gerrit.lucene.LuceneIndexModule) DefaultPermissionBackendModule(com.google.gerrit.server.project.DefaultPermissionBackendModule) OAuthModule(com.google.gerrit.httpd.auth.oauth.OAuthModule) MimeUtil2Module(com.google.gerrit.server.mime.MimeUtil2Module) GarbageCollectionModule(com.google.gerrit.server.git.GarbageCollectionModule) WebSshGlueModule(com.google.gerrit.httpd.WebSshGlueModule) SshModule(com.google.gerrit.sshd.SshModule) SshAddressesModule(com.google.gerrit.server.ssh.SshAddressesModule) HttpPluginModule(com.google.gerrit.httpd.plugins.HttpPluginModule) DefaultCommandModule(com.google.gerrit.sshd.commands.DefaultCommandModule) WebModule(com.google.gerrit.httpd.WebModule) PluginRestApiModule(com.google.gerrit.server.plugins.PluginRestApiModule) ReceiveCommitsExecutorModule(com.google.gerrit.server.git.ReceiveCommitsExecutorModule) ElasticIndexModule(com.google.gerrit.elasticsearch.ElasticIndexModule) GitOverHttpModule(com.google.gerrit.httpd.GitOverHttpModule) IndexModule(com.google.gerrit.server.index.IndexModule) StaticModule(com.google.gerrit.httpd.raw.StaticModule) RestCacheAdminModule(com.google.gerrit.server.config.RestCacheAdminModule) IndexCommandsModule(com.google.gerrit.sshd.commands.IndexCommandsModule) JettyModule(com.google.gerrit.pgm.http.jetty.JettyModule) DiffExecutorModule(com.google.gerrit.server.patch.DiffExecutorModule) NoSshModule(com.google.gerrit.server.ssh.NoSshModule) GpgModule(com.google.gerrit.gpg.GpgModule) OpenIdModule(com.google.gerrit.httpd.auth.openid.OpenIdModule) SshHostKeyModule(com.google.gerrit.sshd.SshHostKeyModule) AbstractModule(com.google.inject.AbstractModule)

Aggregations

ElasticIndexModule (com.google.gerrit.elasticsearch.ElasticIndexModule)1 GpgModule (com.google.gerrit.gpg.GpgModule)1 GitOverHttpModule (com.google.gerrit.httpd.GitOverHttpModule)1 WebModule (com.google.gerrit.httpd.WebModule)1 WebSshGlueModule (com.google.gerrit.httpd.WebSshGlueModule)1 OAuthModule (com.google.gerrit.httpd.auth.oauth.OAuthModule)1 OpenIdModule (com.google.gerrit.httpd.auth.openid.OpenIdModule)1 HttpPluginModule (com.google.gerrit.httpd.plugins.HttpPluginModule)1 StaticModule (com.google.gerrit.httpd.raw.StaticModule)1 LuceneIndexModule (com.google.gerrit.lucene.LuceneIndexModule)1 JettyEnv (com.google.gerrit.pgm.http.jetty.JettyEnv)1 JettyModule (com.google.gerrit.pgm.http.jetty.JettyModule)1 AuthConfigModule (com.google.gerrit.server.config.AuthConfigModule)1 CanonicalWebUrlModule (com.google.gerrit.server.config.CanonicalWebUrlModule)1 GerritGlobalModule (com.google.gerrit.server.config.GerritGlobalModule)1 RestCacheAdminModule (com.google.gerrit.server.config.RestCacheAdminModule)1 GarbageCollectionModule (com.google.gerrit.server.git.GarbageCollectionModule)1 ReceiveCommitsExecutorModule (com.google.gerrit.server.git.ReceiveCommitsExecutorModule)1 DummyIndexModule (com.google.gerrit.server.index.DummyIndexModule)1 IndexModule (com.google.gerrit.server.index.IndexModule)1