java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.omnifaces.cdi.push.SseEndpoint
- All Implemented Interfaces:
Servlet,ServletConfig,Serializable
This SSE endpoint handles connections opened by <o:sse> and <o:notification>.
It is automatically registered during application startup when @Push(type=SSE)
or @Push(type=NOTIFICATION) qualified injection points are detected by
PushExtension.
- Since:
- 5.2
- Author:
- Bauke Scholtz
- See Also:
-
Field Summary
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoGet(HttpServletRequest request, HttpServletResponse response) Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPatch, doPost, doPut, doTrace, getLastModified, init, isSensitiveHeader, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
SseEndpoint
public SseEndpoint()
-
-
Method Details
-
doGet
- Overrides:
doGetin classHttpServlet- Throws:
IOException
-