Server.Builder |
Server.Builder.addApplication(JaxRsApplication application) |
Add a JAX-RS application with all possible options to this server.
|
Server.Builder |
Server.Builder.addApplication(Class<? extends Application> applicationClass) |
JAX-RS application class to use.
|
Server.Builder |
Server.Builder.addApplication(String contextRoot,
Class<? extends Application> applicationClass) |
JAX-RS application class to use.
|
Server.Builder |
Server.Builder.addApplication(String contextRoot,
Application application) |
JAX-RS application to use.
|
Server.Builder |
Server.Builder.addApplication(Application application) |
JAX-RS application to use.
|
Server.Builder |
Server.Builder.addResourceClass(Class<?> resource) |
Add a JAX-RS resource class to use.
|
Server.Builder |
Server.Builder.applications(Application... applications) |
Replace existing applications with the ones provided.
|
Server.Builder |
Server.Builder.basePath(String basePath) |
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.
|
Server.Builder |
Server.Builder.config(Config config) |
Configuration instance to use to configure this server (Helidon config).
|
Server.Builder |
Server.Builder.config(Config config) |
Configuration instance to use to configure this server (Microprofile config).
|
Server.Builder |
Server.Builder.defaultExecutorServiceSupplier(Supplier<? extends ExecutorService> supplier) |
Set a supplier of an executor service to use for tasks connected with application
processing (JAX-RS).
|
Server.Builder |
Server.Builder.host(String host) |
Configure listen host.
|
Server.Builder |
Server.Builder.port(int port) |
Configure listen port.
|
Server.Builder |
Server.Builder.resourceConfig(ResourceConfig config) |
JAX-RS resource configuration to use.
|
Server.Builder |
Server.Builder.retainDiscoveredApplications(boolean retain) |
If any application or resource class is added through this builder, applications discovered by CDI are ignored.
|