Class DiagnosticsReportController
java.lang.Object
org.eblocker.server.http.controller.boot.DiagnosticsReportController
-
Constructor Summary
ConstructorsConstructorDescriptionDiagnosticsReportController(String diagnosticsReportFile, DiagnosticsReportService diagnosticsReportService) -
Method Summary
Modifier and TypeMethodDescriptionio.netty.buffer.ByteBufgetReport(org.restexpress.Request request, org.restexpress.Response response) getReportStatus(org.restexpress.Request request, org.restexpress.Response response) voidstartReport(org.restexpress.Request request, org.restexpress.Response response)
-
Constructor Details
-
DiagnosticsReportController
@Inject public DiagnosticsReportController(String diagnosticsReportFile, DiagnosticsReportService diagnosticsReportService)
-
-
Method Details
-
startReport
public void startReport(org.restexpress.Request request, org.restexpress.Response response) throws IOException - Throws:
IOException
-
getReport
public io.netty.buffer.ByteBuf getReport(org.restexpress.Request request, org.restexpress.Response response) throws IOException - Throws:
IOException
-
getReportStatus
public DiagnosticsReportService.State getReportStatus(org.restexpress.Request request, org.restexpress.Response response)
-