public class WsSci extends java.lang.Object implements ServletContainerInitializer
ServerEndpoint so that Endpoint can be published
via the WebSocket server.| Constructor and Description |
|---|
WsSci() |
| Modifier and Type | Method and Description |
|---|---|
void |
onStartup(java.util.Set<java.lang.Class<?>> clazzes,
ServletContext ctx)
Receives notification during startup of a web application of the classes within the web application that matched
the criteria defined via the
HandlesTypes annotation. |
public void onStartup(java.util.Set<java.lang.Class<?>> clazzes,
ServletContext ctx)
throws ServletException
javax.servlet.ServletContainerInitializerHandlesTypes annotation.onStartup in interface ServletContainerInitializerclazzes - The (possibly null) set of classes that met the specified criteriactx - The ServletContext of the web application in which the classes were discoveredServletException - If an error occursCopyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.