aboutsummaryrefslogtreecommitdiff
path: root/juick-ws
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-09-05 16:27:18 +0300
committerGravatar Vitaly Takmazov2017-09-05 16:27:18 +0300
commit9b91c5584cb6fbba46d2778f5932bd4c078685e3 (patch)
tree1466a70c18b53886996e08996cead817d520a2ae /juick-ws
parent8e5160fcb39c90c83bcda58f1070d07a3dea498d (diff)
fix other web configurations
Diffstat (limited to 'juick-ws')
-rw-r--r--juick-ws/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java b/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java
index a2c2d827..a4317601 100644
--- a/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java
+++ b/juick-ws/src/main/java/com/juick/ws/configuration/WebsocketConfiguration.java
@@ -22,7 +22,6 @@ import com.juick.server.protocol.JuickProtocol;
import com.juick.ws.WebsocketComponent;
import org.springframework.context.annotation.*;
import org.springframework.scheduling.annotation.EnableScheduling;
-import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
import org.springframework.web.socket.config.annotation.EnableWebSocket;
import org.springframework.web.socket.config.annotation.ServletWebSocketHandlerRegistry;
import org.springframework.web.socket.config.annotation.WebSocketConfigurer;
@@ -37,8 +36,7 @@ import org.springframework.web.socket.server.standard.ServletServerContainerFact
@EnableScheduling
@EnableWebSocket
@PropertySource("classpath:juick.conf")
-@Import(BaseWebConfiguration.class)
-class WebsocketConfiguration extends WebMvcConfigurationSupport implements WebSocketConfigurer {
+class WebsocketConfiguration extends BaseWebConfiguration implements WebSocketConfigurer {
@Bean
public WebsocketComponent wsHandler() {