Index
All Classes and Interfaces|All Packages
A
- authenticatedSubjectAttributeName(String) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Optional: the attribute name of a Subject from a custom authenticator.
- authenticator(Authenticator) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Optional:
Authenticatorfor authentication.
B
- buildAndStart() - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Build and start the HTTPServer.
- builder() - Static method in class io.prometheus.metrics.exporter.httpserver.HTTPServer
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.exporter.httpserver.HTTPServer
C
- close() - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- close() - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer
-
Stop the HTTPServer.
D
- defaultHandler(HttpHandler) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Optional: Override default handler, i.e. the handler that will be registered for the / endpoint.
- DefaultHandler - Class in io.prometheus.metrics.exporter.httpserver
-
Handler for the / endpoint
- DefaultHandler() - Constructor for class io.prometheus.metrics.exporter.httpserver.DefaultHandler
E
- executorService - Variable in class io.prometheus.metrics.exporter.httpserver.HTTPServer
- executorService(ExecutorService) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Optional: ExecutorService used by the
httpServer.
G
- getHeaders(String) - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpRequest
- getMethod() - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpRequest
- getPort() - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer
-
Gets the port number.
- getQueryString() - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpRequest
- getRequest() - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- getRequestPath() - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpRequest
- getResponse() - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
H
- handle(HttpExchange) - Method in class io.prometheus.metrics.exporter.httpserver.DefaultHandler
- handle(HttpExchange) - Method in class io.prometheus.metrics.exporter.httpserver.HealthyHandler
- handle(HttpExchange) - Method in class io.prometheus.metrics.exporter.httpserver.MetricsHandler
- handleException(IOException) - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- handleException(RuntimeException) - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- HealthyHandler - Class in io.prometheus.metrics.exporter.httpserver
-
Handler for the /-/healthy endpoint
- HealthyHandler() - Constructor for class io.prometheus.metrics.exporter.httpserver.HealthyHandler
- hostname(String) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Use this hostname to resolve the IP address to bind to.
- HttpExchangeAdapter - Class in io.prometheus.metrics.exporter.httpserver
- HttpExchangeAdapter(HttpExchange) - Constructor for class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- HttpExchangeAdapter.HttpRequest - Class in io.prometheus.metrics.exporter.httpserver
- HttpExchangeAdapter.HttpResponse - Class in io.prometheus.metrics.exporter.httpserver
- HttpRequest() - Constructor for class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpRequest
- HttpResponse() - Constructor for class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpResponse
- httpsConfigurator(HttpsConfigurator) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Optional:
HttpsConfiguratorfor TLS/SSL - HTTPServer - Class in io.prometheus.metrics.exporter.httpserver
-
Expose Prometheus metrics using a plain Java HttpServer.
- HTTPServer.Builder - Class in io.prometheus.metrics.exporter.httpserver
I
- inetAddress(InetAddress) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Bind to this IP address.
- io.prometheus.metrics.exporter.httpserver - module io.prometheus.metrics.exporter.httpserver
- io.prometheus.metrics.exporter.httpserver - package io.prometheus.metrics.exporter.httpserver
M
- MetricsHandler - Class in io.prometheus.metrics.exporter.httpserver
-
Handler for the /metrics endpoint
- MetricsHandler() - Constructor for class io.prometheus.metrics.exporter.httpserver.MetricsHandler
- MetricsHandler(PrometheusProperties) - Constructor for class io.prometheus.metrics.exporter.httpserver.MetricsHandler
- MetricsHandler(PrometheusProperties, PrometheusRegistry) - Constructor for class io.prometheus.metrics.exporter.httpserver.MetricsHandler
- MetricsHandler(PrometheusRegistry) - Constructor for class io.prometheus.metrics.exporter.httpserver.MetricsHandler
P
- port(int) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Port to bind to.
R
- registry(PrometheusRegistry) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Optional: Default is
PrometheusRegistry.defaultRegistry.
S
- sendHeadersAndGetBody(int, int) - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpResponse
- server - Variable in class io.prometheus.metrics.exporter.httpserver.HTTPServer
- setHeader(String, String) - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpResponse
- stop() - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer
-
Stop the HTTP server.
All Classes and Interfaces|All Packages