java.lang.Object
io.prometheus.metrics.exporter.httpserver.DefaultHandler
All Implemented Interfaces:
com.sun.net.httpserver.HttpHandler

public class DefaultHandler extends Object implements com.sun.net.httpserver.HttpHandler
Handler for the / endpoint
  • Constructor Details

    • DefaultHandler

      public DefaultHandler()
  • Method Details

    • handle

      public void handle(com.sun.net.httpserver.HttpExchange exchange) throws IOException
      Specified by:
      handle in interface com.sun.net.httpserver.HttpHandler
      Throws:
      IOException