Class HttpExchangeAdapter.Request
Object
Request
- All Implemented Interfaces:
 PrometheusHttpRequest, PrometheusScrapeRequest
- Enclosing class:
 HttpExchangeAdapter
This inner class adapts a HttpServletRequest to a PrometheusHttpRequest.
- 
Constructor Summary
ConstructorsConstructorDescriptionRequest(HttpServletRequest request) Constructs a new Request with the given HttpServletRequest. - 
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 Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PrometheusHttpRequest
getHeader, getParameter, getParameterValues 
- 
Constructor Details
- 
Request
Constructs a new Request with the given HttpServletRequest.- Parameters:
 request- the HttpServletRequest to be adapted
 
 - 
 - 
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
 
 -