- Enclosing class:
Server
-
Constructor Summary
ConstructorDescriptionBuilder
(NetService netService, Reactor reactor, ResourceService resourceService) -
Method Summary
Modifier and TypeMethodDescriptionprotected Server
doBuild()
This method should be implemented by concrete implementation to return the actual module instance.setConfiguration
(HttpServerConfiguration configuration) setController
(ServerController<? extends ExchangeContext, ? extends Exchange<? extends ExchangeContext>, ? extends ErrorExchange<? extends ExchangeContext>> controller) setHeaderCodecs
(List<HeaderCodec<?>> headerCodecs) setParameterConverter
(ObjectConverter<String> parameterConverter) Methods inherited from class io.inverno.core.v1.Module.ModuleBuilder
build
-
Constructor Details
-
Builder
-
-
Method Details
-
doBuild
Description copied from class:Module.ModuleBuilder
This method should be implemented by concrete implementation to return the actual module instance.
- Specified by:
doBuild
in classModule.ModuleBuilder<Server>
- Returns:
- a new module instance
-
setHeaderCodecs
-
setConfiguration
-
setController
public Server.Builder setController(ServerController<? extends ExchangeContext, ? extends Exchange<? extends ExchangeContext>, ? extends ErrorExchange<? extends ExchangeContext>> controller) -
setParameterConverter
-