spring-framework / org.springframework.web.socket.server.standard / ServerEndpointExporter / setServerContainer

setServerContainer

open fun setServerContainer(@Nullable serverContainer: ServerContainer): Unit

Set the JSR-356 ServerContainer to use for endpoint registration. If not set, the container is going to be retrieved via the ServletContext.