Class HttpExchangeAdapter.Response
java.lang.Object
io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter.Response
- All Implemented Interfaces:
io.prometheus.metrics.exporter.common.PrometheusHttpResponse
- Enclosing class:
- HttpExchangeAdapter
public static class HttpExchangeAdapter.Response
extends Object
implements io.prometheus.metrics.exporter.common.PrometheusHttpResponse
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Response
public Response(jakarta.servlet.http.HttpServletResponse response)
-
-
Method Details
-
setHeader
- Specified by:
setHeaderin interfaceio.prometheus.metrics.exporter.common.PrometheusHttpResponse
-
sendHeadersAndGetBody
- Specified by:
sendHeadersAndGetBodyin interfaceio.prometheus.metrics.exporter.common.PrometheusHttpResponse- Throws:
IOException
-