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 Object
implements com.sun.net.httpserver.HttpHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CollectorRegistry
private final HTTPServer.LocalByteArray
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
registry
-
response
-
-
Constructor Details
-
HTTPMetricHandler
HTTPMetricHandler(CollectorRegistry registry)
-
-
Method Details
-
handle
- Specified by:
handle
in interfacecom.sun.net.httpserver.HttpHandler
- Throws:
IOException
-