Class HttpExchangeAdapter.HttpRequest

java.lang.Object
io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpRequest
All Implemented Interfaces:
io.prometheus.metrics.exporter.common.PrometheusHttpRequest, io.prometheus.metrics.model.registry.PrometheusScrapeRequest
Enclosing class:
HttpExchangeAdapter

public class HttpExchangeAdapter.HttpRequest extends Object implements io.prometheus.metrics.exporter.common.PrometheusHttpRequest
  • Constructor Details

    • HttpRequest

      public HttpRequest()
  • Method Details

    • getQueryString

      public String getQueryString()
      Specified by:
      getQueryString in interface io.prometheus.metrics.exporter.common.PrometheusHttpRequest
    • getHeaders

      public Enumeration<String> getHeaders(String name)
      Specified by:
      getHeaders in interface io.prometheus.metrics.exporter.common.PrometheusHttpRequest
    • getMethod

      public String getMethod()
      Specified by:
      getMethod in interface io.prometheus.metrics.exporter.common.PrometheusHttpRequest
    • getRequestPath

      public String getRequestPath()
      Specified by:
      getRequestPath in interface io.prometheus.metrics.model.registry.PrometheusScrapeRequest