Class HttpServer
- java.lang.Object
-
- org.apache.skywalking.oap.server.telemetry.prometheus.httpserver.HttpServer
-
public final class HttpServer extends Object
An HTTP server that sends back the content of the received HTTP request in a pretty plaintext form.
-
-
Constructor Summary
Constructors Constructor Description HttpServer(PrometheusConfig config)
-
-
-
Constructor Detail
-
HttpServer
public HttpServer(PrometheusConfig config)
-
-
Method Detail
-
start
public void start() throws InterruptedException- Throws:
InterruptedException
-
-