public class AtmosphereServlet
extends jakarta.servlet.http.HttpServlet
BlockingIOCometSupport.| Modifier and Type | Field and Description |
|---|---|
protected AtmosphereFrameworkInitializer |
initializer |
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
AtmosphereServlet()
Create an Atmosphere Servlet.
|
AtmosphereServlet(boolean isFilter)
Create an Atmosphere Servlet.
|
AtmosphereServlet(boolean isFilter,
boolean autoDetectHandlers)
Create an Atmosphere Servlet.
|
| Modifier and Type | Method and Description |
|---|---|
protected AtmosphereServlet |
configureFramework(jakarta.servlet.ServletConfig sc) |
protected AtmosphereServlet |
configureFramework(jakarta.servlet.ServletConfig sc,
boolean init) |
void |
destroy() |
void |
doDelete(jakarta.servlet.http.HttpServletRequest req,
jakarta.servlet.http.HttpServletResponse res)
Delegate the request processing to an instance of
AsyncSupport. |
void |
doGet(jakarta.servlet.http.HttpServletRequest req,
jakarta.servlet.http.HttpServletResponse res)
Delegate the request processing to an instance of
AsyncSupport. |
void |
doHead(jakarta.servlet.http.HttpServletRequest req,
jakarta.servlet.http.HttpServletResponse res)
Delegate the request processing to an instance of
AsyncSupport. |
void |
doOptions(jakarta.servlet.http.HttpServletRequest req,
jakarta.servlet.http.HttpServletResponse res)
Delegate the request processing to an instance of
AsyncSupport |
void |
doPost(jakarta.servlet.http.HttpServletRequest req,
jakarta.servlet.http.HttpServletResponse res)
Delegate the request processing to an instance of
AsyncSupport. |
void |
doPut(jakarta.servlet.http.HttpServletRequest req,
jakarta.servlet.http.HttpServletResponse res)
Delegate the request processing to an instance of
AsyncSupport. |
void |
doTrace(jakarta.servlet.http.HttpServletRequest req,
jakarta.servlet.http.HttpServletResponse res)
Delegate the request processing to an instance of
AsyncSupport. |
AtmosphereFramework |
framework() |
void |
init(jakarta.servlet.ServletConfig sc) |
protected AtmosphereFramework |
newAtmosphereFramework() |
protected static final org.slf4j.Logger logger
protected final AtmosphereFrameworkInitializer initializer
public AtmosphereServlet()
public AtmosphereServlet(boolean isFilter)
isFilter - true if this instance is used as an AtmosphereFilterpublic AtmosphereServlet(boolean isFilter,
boolean autoDetectHandlers)
isFilter - true if this instance is used as an AtmosphereFilterpublic void destroy()
destroy in interface jakarta.servlet.Servletdestroy in class jakarta.servlet.GenericServletpublic void init(jakarta.servlet.ServletConfig sc)
throws jakarta.servlet.ServletException
init in interface jakarta.servlet.Servletinit in class jakarta.servlet.GenericServletjakarta.servlet.ServletExceptionprotected AtmosphereServlet configureFramework(jakarta.servlet.ServletConfig sc) throws jakarta.servlet.ServletException
jakarta.servlet.ServletExceptionprotected AtmosphereServlet configureFramework(jakarta.servlet.ServletConfig sc, boolean init) throws jakarta.servlet.ServletException
jakarta.servlet.ServletExceptionprotected AtmosphereFramework newAtmosphereFramework()
public AtmosphereFramework framework()
public void doHead(jakarta.servlet.http.HttpServletRequest req,
jakarta.servlet.http.HttpServletResponse res)
throws java.io.IOException,
jakarta.servlet.ServletException
AsyncSupport.doHead in class jakarta.servlet.http.HttpServletreq - the HttpServletRequestres - the HttpServletResponsejava.io.IOExceptionjakarta.servlet.ServletExceptionpublic void doOptions(jakarta.servlet.http.HttpServletRequest req,
jakarta.servlet.http.HttpServletResponse res)
throws java.io.IOException,
jakarta.servlet.ServletException
AsyncSupportdoOptions in class jakarta.servlet.http.HttpServletreq - the HttpServletRequestres - the HttpServletResponsejava.io.IOExceptionjakarta.servlet.ServletExceptionpublic void doTrace(jakarta.servlet.http.HttpServletRequest req,
jakarta.servlet.http.HttpServletResponse res)
throws java.io.IOException,
jakarta.servlet.ServletException
AsyncSupport.doTrace in class jakarta.servlet.http.HttpServletreq - the HttpServletRequestres - the HttpServletResponsejava.io.IOExceptionjakarta.servlet.ServletExceptionpublic void doDelete(jakarta.servlet.http.HttpServletRequest req,
jakarta.servlet.http.HttpServletResponse res)
throws java.io.IOException,
jakarta.servlet.ServletException
AsyncSupport.doDelete in class jakarta.servlet.http.HttpServletreq - the HttpServletRequestres - the HttpServletResponsejava.io.IOExceptionjakarta.servlet.ServletExceptionpublic void doPut(jakarta.servlet.http.HttpServletRequest req,
jakarta.servlet.http.HttpServletResponse res)
throws java.io.IOException,
jakarta.servlet.ServletException
AsyncSupport.doPut in class jakarta.servlet.http.HttpServletreq - the HttpServletRequestres - the HttpServletResponsejava.io.IOExceptionjakarta.servlet.ServletExceptionpublic void doGet(jakarta.servlet.http.HttpServletRequest req,
jakarta.servlet.http.HttpServletResponse res)
throws java.io.IOException,
jakarta.servlet.ServletException
AsyncSupport.doGet in class jakarta.servlet.http.HttpServletreq - the HttpServletRequestres - the HttpServletResponsejava.io.IOExceptionjakarta.servlet.ServletExceptionpublic void doPost(jakarta.servlet.http.HttpServletRequest req,
jakarta.servlet.http.HttpServletResponse res)
throws java.io.IOException,
jakarta.servlet.ServletException
AsyncSupport.doPost in class jakarta.servlet.http.HttpServletreq - the HttpServletRequestres - the HttpServletResponsejava.io.IOExceptionjakarta.servlet.ServletExceptionCopyright © 2022. All Rights Reserved.