Uses of Class
com.mastfrog.acteur.server.ServerBuilder
Packages that use ServerBuilder
-
Uses of ServerBuilder in com.mastfrog.acteur.server
Methods in com.mastfrog.acteur.server that return ServerBuilderModifier and TypeMethodDescriptionServerBuilder.add(com.google.inject.Module module) Add a module which should be used for Guice bindingsServerBuilder.add(com.mastfrog.settings.Settings settings) Explicitly add a Settings which should be used for resolving @Named bindings, in addition to any bound to the namespace (i.e.Add a module type which will be instantiated.ServerBuilder.applicationClass(Class<? extends Application> type) Set the class of the application.ServerBuilder.disableBindings(com.mastfrog.giulius.SettingsBindings... bindings) Disable binding of settings to some types if you know they will not be used, to save (minimal) memory.ServerBuilder.disableCORS()ServerBuilder.disableHelp()ServerBuilder.enableCORS()ServerBuilder.enableHelp()ServerBuilder.enableOnlyBindingsFor(com.mastfrog.giulius.SettingsBindings... bindings) Explicitly set the list of types that are bound to settings to save (minimal) memory.ServerBuilder.mergeNamespaces()If true, do not actually use the namespace feature of Dependencies - there is only one namespace - it is just not named "default".ServerBuilder.ssl()ServerBuilder.sslConfig(io.netty.handler.ssl.SslContext context) ServerBuilder.withShutdownHookWaitMillis(Duration dur) Add a type which will be bound.