Package com.google.gerrit.server.restapi
Class RestApiModule
java.lang.Object
com.google.inject.AbstractModule
com.google.gerrit.server.restapi.RestApiModule
- All Implemented Interfaces:
com.google.inject.Module
public class RestApiModule
extends com.google.inject.AbstractModule
Module to bind REST API endpoints.
Classes that are needed by the REST layer, but which are not REST API endpoints, should be
bound in RestModule
.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
RestApiModule
public RestApiModule()
-
-
Method Details
-
configure
protected void configure()- Overrides:
configure
in classcom.google.inject.AbstractModule
-