Class HttpExchangeAdapter.Request
java.lang.Object
io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter.Request
- All Implemented Interfaces:
PrometheusHttpRequest,PrometheusScrapeRequest
- Enclosing class:
HttpExchangeAdapter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHeaders(String name) Seejakarta.servlet.http.HttpServletRequest.getHeaders(String)Seejakarta.servlet.http.HttpServletRequest.getMethod()Seejakarta.servlet.http.HttpServletRequest.getQueryString()Absolute path of the HTTP request.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.prometheus.metrics.exporter.common.PrometheusHttpRequest
getHeader, getParameter, getParameterValues
-
Field Details
-
request
private final jakarta.servlet.http.HttpServletRequest request
-
-
Constructor Details
-
Request
public Request(jakarta.servlet.http.HttpServletRequest request)
-
-
Method Details
-
getQueryString
Description copied from interface:PrometheusHttpRequestSeejakarta.servlet.http.HttpServletRequest.getQueryString()- Specified by:
getQueryStringin interfacePrometheusHttpRequest
-
getHeaders
Description copied from interface:PrometheusHttpRequestSeejakarta.servlet.http.HttpServletRequest.getHeaders(String)- Specified by:
getHeadersin interfacePrometheusHttpRequest
-
getMethod
Description copied from interface:PrometheusHttpRequestSeejakarta.servlet.http.HttpServletRequest.getMethod()- Specified by:
getMethodin interfacePrometheusHttpRequest
-
getRequestPath
Description copied from interface:PrometheusScrapeRequestAbsolute path of the HTTP request.- Specified by:
getRequestPathin interfacePrometheusScrapeRequest
-