Package io.prometheus.client.exporter
Class HTTPServer.HTTPMetricHandler
- java.lang.Object
-
- io.prometheus.client.exporter.HTTPServer.HTTPMetricHandler
-
- All Implemented Interfaces:
com.sun.net.httpserver.HttpHandler
- Enclosing class:
- HTTPServer
static class HTTPServer.HTTPMetricHandler extends java.lang.Object implements com.sun.net.httpserver.HttpHandler
-
-
Field Summary
Fields Modifier and Type Field Description private CollectorRegistry
registry
private HTTPServer.LocalByteArray
response
-
Constructor Summary
Constructors Constructor Description HTTPMetricHandler(CollectorRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(com.sun.net.httpserver.HttpExchange t)
-
-
-
Field Detail
-
registry
private CollectorRegistry registry
-
response
private final HTTPServer.LocalByteArray response
-
-
Constructor Detail
-
HTTPMetricHandler
HTTPMetricHandler(CollectorRegistry registry)
-
-