Uses of Class
io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
Packages that use HTTPServer.Builder
-
Uses of HTTPServer.Builder in io.prometheus.metrics.exporter.httpserver
Methods in io.prometheus.metrics.exporter.httpserver that return HTTPServer.BuilderModifier and TypeMethodDescriptionHTTPServer.Builder.authenticatedSubjectAttributeName(String authenticatedSubjectAttributeName) Optional: the attribute name of a Subject from a custom authenticator.HTTPServer.Builder.authenticator(Authenticator authenticator) Optional:Authenticatorfor authentication.static HTTPServer.BuilderHTTPServer.builder()static HTTPServer.BuilderHTTPServer.builder(PrometheusProperties config) HTTPServer.Builder.defaultHandler(HttpHandler defaultHandler) Optional: Override default handler, i.e. the handler that will be registered for the / endpoint.HTTPServer.Builder.executorService(ExecutorService executorService) Optional: ExecutorService used by thehttpServer.Use this hostname to resolve the IP address to bind to.HTTPServer.Builder.httpsConfigurator(HttpsConfigurator configurator) Optional:HttpsConfiguratorfor TLS/SSLHTTPServer.Builder.inetAddress(InetAddress address) Bind to this IP address.HTTPServer.Builder.port(int port) Port to bind to.HTTPServer.Builder.registry(PrometheusRegistry registry) Optional: Default isPrometheusRegistry.defaultRegistry.