Uses of Class
io.helidon.microprofile.server.Server.Builder
-
Uses of Server.Builder in io.helidon.microprofile.server
Modifier and TypeMethodDescriptionServer.Builder.addApplication
(JaxRsApplication application) Add a JAX-RS application with all possible options to this server.Server.Builder.addApplication
(Application application) JAX-RS application to use.Server.Builder.addApplication
(Class<? extends Application> applicationClass) JAX-RS application class to use.Server.Builder.addApplication
(String contextRoot, Application application) JAX-RS application to use.Server.Builder.addApplication
(String contextRoot, Class<? extends Application> applicationClass) JAX-RS application class to use.Server.Builder.addResourceClass
(Class<?> resource) Add a JAX-RS resource class to use.Server.Builder.applications
(Application... applications) Replace existing applications with the ones provided.Configure a path to which the server would redirect when a root path is requested.static Server.Builder
Server.builder()
Builder to customize Server instance.Configuration instance to use to configure this server (Helidon config).Configuration instance to use to configure this server (Microprofile config).Configure listen host.Server.Builder.port
(int port) Configure listen port.Server.Builder.resourceConfig
(ResourceConfig config) JAX-RS resource configuration to use.Server.Builder.retainDiscoveredApplications
(boolean retain) If any application or resource class is added through this builder, applications discovered by CDI are ignored.