Class ZPageHttpHandler

java.lang.Object
io.opencensus.contrib.zpages.ZPageHttpHandler
All Implemented Interfaces:
com.sun.net.httpserver.HttpHandler

final class ZPageHttpHandler extends Object implements com.sun.net.httpserver.HttpHandler
An HttpHandler that can be used to render HTML pages using any ZPageHandler.
  • Field Details

  • Constructor Details

    • ZPageHttpHandler

      ZPageHttpHandler(ZPageHandler zpageHandler)
      Constructs a new ZPageHttpHandler.
  • Method Details

    • handle

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

      static Map<String,String> uriQueryToMap(URI uri)