Package io.revealbi.core
Interface IRevealServer
- All Known Implementing Classes:
RevealServer
public interface IRevealServer
Defines the Reveal server contract.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the dashboard exporter.process(IHttpRequest request, IHttpResponse response, IRVUserContext userContext) Processes a Reveal server request.voidshutdown()Shuts down the Reveal server.
-
Method Details
-
getDashboardExporter
IDashboardExporter getDashboardExporter()Returns the dashboard exporter.- Returns:
- The dashboard exporter.
-
process
CompletableFuture<Void> process(IHttpRequest request, IHttpResponse response, IRVUserContext userContext) Processes a Reveal server request.- Parameters:
request- The HTTP request.response- The HTTP response.userContext- The user context.- Returns:
- A future that completes when processing finishes.
-
shutdown
Shuts down the Reveal server.- Throws:
Exception- If an error occurs while shutting down the server.
-