Package com.google.gerrit.httpd.rpc
Class RpcServletModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- com.google.inject.servlet.ServletModule
-
- com.google.gerrit.httpd.rpc.RpcServletModule
-
- All Implemented Interfaces:
com.google.inject.Module
- Direct Known Subclasses:
ProjectModule
,UiRpcModule
public abstract class RpcServletModule extends com.google.inject.servlet.ServletModule
BindsRemoteJsonService
implementations to a JSON servlet.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RpcServletModule(String pathPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
rpc(Class<? extends com.google.gwtjsonrpc.common.RemoteJsonService> clazz)
protected void
rpc(String name, Class<? extends com.google.gwtjsonrpc.common.RemoteJsonService> clazz)
-
Methods inherited from class com.google.inject.servlet.ServletModule
configure, configureServlets, 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
-
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RpcServletModule
protected RpcServletModule(String pathPrefix)
-
-