public abstract class KaryonHttpModule<I,O> extends AbstractServerModule<I,O,KaryonHttpModule.HttpServerConfigBuilder>
| Modifier and Type | Class and Description |
|---|---|
static class |
KaryonHttpModule.HttpServerConfig |
static class |
KaryonHttpModule.HttpServerConfigBuilder |
AbstractServerModule.ServerConfig, AbstractServerModule.ServerConfigBuilder<B extends AbstractServerModule.ServerConfigBuilder,C extends AbstractServerModule.ServerConfig>| Modifier and Type | Field and Description |
|---|---|
protected com.google.inject.Key<io.reactivex.netty.protocol.http.server.HttpServer<I,O>> |
httpServerKey |
protected com.google.inject.Key<GovernatorHttpInterceptorSupport<I,O>> |
interceptorSupportKey |
protected com.google.inject.Key<io.reactivex.netty.protocol.http.server.RequestHandler<I,O>> |
routerKey |
iType, nameAnnotation, oType, pipelineConfiguratorKey, serverConfigBuilder, serverConfigKey| Modifier | Constructor and Description |
|---|---|
protected |
KaryonHttpModule(java.lang.String moduleName,
java.lang.Class<I> iType,
java.lang.Class<O> oType) |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.inject.binder.LinkedBindingBuilder<io.reactivex.netty.protocol.http.server.RequestHandler<I,O>> |
bindRouter() |
protected void |
configure() |
protected GovernatorHttpInterceptorSupport<I,O> |
interceptorSupport() |
protected KaryonHttpModule.HttpServerConfigBuilder |
newServerConfigBuilder() |
bindPipelineConfigurator, configureServer, serveraddError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected final com.google.inject.Key<io.reactivex.netty.protocol.http.server.RequestHandler<I,O>> routerKey
protected final com.google.inject.Key<io.reactivex.netty.protocol.http.server.HttpServer<I,O>> httpServerKey
protected final com.google.inject.Key<GovernatorHttpInterceptorSupport<I,O>> interceptorSupportKey
protected void configure()
configure in class com.google.inject.AbstractModuleprotected KaryonHttpModule.HttpServerConfigBuilder newServerConfigBuilder()
newServerConfigBuilder in class AbstractServerModule<I,O,KaryonHttpModule.HttpServerConfigBuilder>protected com.google.inject.binder.LinkedBindingBuilder<io.reactivex.netty.protocol.http.server.RequestHandler<I,O>> bindRouter()
protected GovernatorHttpInterceptorSupport<I,O> interceptorSupport()