mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 17:59:03 +00:00
Tweak autoconfigs in websocket support
This commit is contained in:
+3
-2
@@ -47,9 +47,10 @@ public class SpringWebsocketCompilerAutoConfiguration extends CompilerAutoConfig
|
||||
public void applyImports(ImportCustomizer imports) {
|
||||
imports.addStarImports("org.springframework.messaging.handler.annotation",
|
||||
"org.springframework.messaging.simp.config",
|
||||
"org.springframework.web.socket",
|
||||
"org.springframework.web.socket.handler",
|
||||
"org.springframework.web.socket.config.annotation");
|
||||
"org.springframework.web.socket.sockjs.transport.handler",
|
||||
"org.springframework.web.socket.config.annotation").addImports(
|
||||
"org.springframework.web.socket.WebSocketHandler");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user