| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private final JettyWebSocketServletContainerInitializer. | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | configure(ServletContextHandler
the context to add listener to. context, JettyWebSocketServletContainerInitializer.a lambda that is called to allow the configuratorWebSocketMappings to
be configured during ServletContext initialization phaseConfigure the |
| private static JettyWebSocketServerContainer | Returns: the defaultJettyWebSocketServerContainerthe context to work with context)Immediately initialize the |
| public void | onStartup(Set<Class<?>>
the Set of application classes that extend, implement, or have been annotated with the class types specified
by the c, ServletContext HandlesTypes annotation, or null if there are no
matches, or this ServletContainerInitializer has not been annotated with HandlesTypesthe ServletContext of the web application that is being started and in which the classes
contained in c were found context)Implements jakarta. Notifies this ServletContainerInitializer of the startup of the application represented by the given ServletContext. |
| configurator | back to summary |
|---|---|
| private final JettyWebSocketServletContainerInitializer. | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| JettyWebSocketServletContainerInitializer | back to summary |
|---|---|
| public JettyWebSocketServletContainerInitializer() | |
| JettyWebSocketServletContainerInitializer | back to summary |
|---|---|
| public JettyWebSocketServletContainerInitializer(JettyWebSocketServletContainerInitializer. | |
| configure | back to summary |
|---|---|
| public static void configure(ServletContextHandler context, JettyWebSocketServletContainerInitializer. Configure the
| |
| initialize | back to summary |
|---|---|
| private static JettyWebSocketServerContainer initialize(ServletContextHandler context) Immediately initialize the
This method is typically called from
This method SHOULD NOT BE CALLED by users of Jetty.
Use the
This will return the default
| |
| onStartup | back to summary |
|---|---|
| public void onStartup(Set<Class<?>> c, ServletContext context) Implements jakarta. Doc from jakarta. Notifies this ServletContainerInitializer of the startup of the application represented by the given ServletContext. If this ServletContainerInitializer is bundled in a JAR file inside the WEB-INF/lib directory of an application, its onStartup method will be invoked only once during the startup of the bundling application. If this ServletContainerInitializer is bundled inside a JAR file outside of any WEB-INF/lib directory, but still discoverable as described above, its onStartup method will be invoked every time an application is started.
| |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| accept | back to summary |
|---|---|
| public void accept(ServletContext servletContext, JettyWebSocketServerContainer container) | |