- Enclosing class:
Server
-
Constructor Summary
ConstructorDescriptionBuilder
(List<MediaTypeConverter<ByteBuf>> mediaTypeConverters, 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
(WebServerConfiguration configuration) setControllerConfigurer
(WebServerControllerConfigurer<? extends ExchangeContext> controllerConfigurer) setHeaderCodecs
(List<HeaderCodec<?>> headerCodecs) setParameterConverter
(ObjectConverter<String> parameterConverter) Methods inherited from class io.inverno.core.v1.Module.ModuleBuilder
build
-
Constructor Details
-
Builder
public Builder(List<MediaTypeConverter<ByteBuf>> mediaTypeConverters, NetService netService, Reactor reactor, ResourceService resourceService)
-
-
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
-
setControllerConfigurer
public Server.Builder setControllerConfigurer(WebServerControllerConfigurer<? extends ExchangeContext> controllerConfigurer) -
setHeaderCodecs
-
setConfiguration
-
setParameterConverter
-