-
Optional: the attribute name of a Subject from a custom authenticator.
HTTPServer.Builder.authenticator(com.sun.net.httpserver.Authenticator authenticator)
Optional: Authenticator for authentication.
HTTPServer.builder(io.prometheus.metrics.config.PrometheusProperties config)
HTTPServer.Builder.defaultHandler(com.sun.net.httpserver.HttpHandler defaultHandler)
Optional: Override default handler, i.e. the handler that will be registered for the /
endpoint.
Optional: ExecutorService used by the httpServer.
Use this hostname to resolve the IP address to bind to.
HTTPServer.Builder.httpsConfigurator(com.sun.net.httpserver.HttpsConfigurator configurator)
Optional: HttpsConfigurator for TLS/SSL
HTTPServer.Builder.port(int port)
HTTPServer.Builder.registry(io.prometheus.metrics.model.registry.PrometheusRegistry registry)
Optional: Default is PrometheusRegistry.defaultRegistry.