Class HttpExchangeAdapter.Response
Object
Response
- All Implemented Interfaces:
- PrometheusHttpResponse
- Enclosing class:
- HttpExchangeAdapter
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionsendHeadersAndGetBody(int statusCode, int contentLength) This is equivalent to callingHttpExchange.sendResponseHeaders(int, long)followed byHttpExchange.getResponseBody().voidSeejakarta.servlet.http.HttpServletResponse.setHeader(String, String)
- 
Constructor Details- 
Response
 
- 
- 
Method Details- 
setHeaderDescription copied from interface:PrometheusHttpResponseSeejakarta.servlet.http.HttpServletResponse.setHeader(String, String)- Specified by:
- setHeaderin interface- PrometheusHttpResponse
 
- 
sendHeadersAndGetBodyDescription copied from interface:PrometheusHttpResponseThis is equivalent to callingHttpExchange.sendResponseHeaders(int, long)followed byHttpExchange.getResponseBody().- Specified by:
- sendHeadersAndGetBodyin interface- PrometheusHttpResponse
- Throws:
- IOException
 
 
-