Interface PrometheusHttpResponse

All Known Implementing Classes:
HttpExchangeAdapter.HttpResponse, HttpExchangeAdapter.Response, HttpExchangeAdapter.Response

public interface PrometheusHttpResponse
  • Method Summary

    Modifier and Type
    Method
    Description
    sendHeadersAndGetBody(int statusCode, int contentLength)
    This is equivalent to calling HttpExchange.sendResponseHeaders(int, long) followed by HttpExchange.getResponseBody().
    void
    setHeader(String name, String value)
    See jakarta.servlet.http.HttpServletResponse.setHeader(String, String)
  • Method Details