Class JaxRsApplication.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • contextRoot

        public JaxRsApplication.Builder contextRoot​(String contextRoot)
        Configure an explicit context root for this application.
        Parameters:
        contextRoot - context root to expose this application on, defaults to "/"
        Returns:
        updated builder instance
      • executorService

        public JaxRsApplication.Builder executorService​(ExecutorService executorService)
        Configure an executor service to be used for this application. Executor services can be shared between applications. If none is defined, server default will be used.
        Parameters:
        executorService - executor service to use with this application
        Returns:
        updated builder instance