Class JobRunrSseHandler
java.lang.Object
org.jobrunr.dashboard.server.AbstractHttpExchangeHandler
org.jobrunr.dashboard.server.sse.ServerSentEventHandler
org.jobrunr.dashboard.JobRunrSseHandler
- All Implemented Interfaces:
HttpHandler, AutoCloseable, HttpExchangeHandler
-
Constructor Summary
ConstructorsConstructorDescriptionJobRunrSseHandler(String contextPath, StorageProvider storageProvider, JsonMapper jsonMapper) JobRunrSseHandler(StorageProvider storageProvider, JsonMapper jsonMapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected SseExchangecreateSseExchange(HttpExchange httpExchange) Methods inherited from class ServerSentEventHandler
close, getContextPath, handle
-
Constructor Details
-
JobRunrSseHandler
-
JobRunrSseHandler
public JobRunrSseHandler(String contextPath, StorageProvider storageProvider, JsonMapper jsonMapper)
-
-
Method Details
-
createSseExchange
- Specified by:
createSseExchangein classServerSentEventHandler- Throws:
IOException
-