lic static&nbsp;<a href="WebSocketContainer.html" title="interface in jakarta.websocket">WebSocketContainer</a>&nbsp;getWebSocketContainer()</pre>
<div class="block">Obtain a new instance of a WebSocketContainer. The method looks for the ContainerProvider implementation class in
 the order listed in the "META-INF/services/jakarta.websocket.ContainerProvider" file, returning the first
 WebSocketContainer implementation from the ContainerProvider implementation that is not <code>null</code>.</div>
<dl>
<dt><s