Package org.jobrunr.dashboard
Class JobRunrSseHandler
- java.lang.Object
-
- org.jobrunr.dashboard.server.AbstractTeenyHttpHandler
-
- org.jobrunr.dashboard.server.sse.ServerSentEventHandler
-
- org.jobrunr.dashboard.JobRunrSseHandler
-
- All Implemented Interfaces:
com.sun.net.httpserver.HttpHandler
,java.lang.AutoCloseable
,TeenyHttpHandler
public class JobRunrSseHandler extends ServerSentEventHandler
-
-
Constructor Summary
Constructors Constructor Description JobRunrSseHandler(java.lang.String contextPath, StorageProvider storageProvider, JsonMapper jsonMapper)
JobRunrSseHandler(StorageProvider storageProvider, JsonMapper jsonMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SseExchange
createSseExchange(com.sun.net.httpserver.HttpExchange httpExchange)
-
Methods inherited from class org.jobrunr.dashboard.server.sse.ServerSentEventHandler
close, getContextPath, handle
-
-
-
-
Constructor Detail
-
JobRunrSseHandler
public JobRunrSseHandler(StorageProvider storageProvider, JsonMapper jsonMapper)
-
JobRunrSseHandler
public JobRunrSseHandler(java.lang.String contextPath, StorageProvider storageProvider, JsonMapper jsonMapper)
-
-
Method Detail
-
createSseExchange
protected SseExchange createSseExchange(com.sun.net.httpserver.HttpExchange httpExchange) throws java.io.IOException
- Specified by:
createSseExchange
in classServerSentEventHandler
- Throws:
java.io.IOException
-
-