Skip to content

Commit 8f63c8f

Browse files
committed
Web Socket using Spring Boot
1 parent 9cb4506 commit 8f63c8f

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

springboot-stomp-websocket/src/main/java/net/alanbinu/springboot/websocket/Application.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package net.javaguides.springboot.websocket;
1+
package net.alanbinu.springboot.websocket;
22

33
import org.springframework.boot.SpringApplication;
44
import org.springframework.boot.autoconfigure.SpringBootApplication;

springboot-stomp-websocket/src/main/java/net/alanbinu/springboot/websocket/config/WebSocketConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package net.javaguides.springboot.websocket.config;
1+
package net.alanbinu.springboot.websocket.config;
22

33
import org.springframework.context.annotation.Configuration;
44
import org.springframework.messaging.simp.config.MessageBrokerRegistry;

springboot-stomp-websocket/src/main/java/net/alanbinu/springboot/websocket/controller/GreetingController.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
package net.javaguides.springboot.websocket.controller;
1+
package net.alanbinu.springboot.websocket.controller;
22

33
import org.springframework.messaging.handler.annotation.MessageMapping;
44
import org.springframework.messaging.handler.annotation.SendTo;
55
import org.springframework.stereotype.Controller;
66
import org.springframework.web.util.HtmlUtils;
77

8-
import net.javaguides.springboot.websocket.model.Greeting;
9-
import net.javaguides.springboot.websocket.model.HelloMessage;
8+
import net.alanbinu.springboot.websocket.model.Greeting;
9+
import net.alanbinu.springboot.websocket.model.HelloMessage;
1010

1111
@Controller
1212
public class GreetingController {

springboot-stomp-websocket/src/main/java/net/alanbinu/springboot/websocket/model/Greeting.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package net.javaguides.springboot.websocket.model;
1+
package net.alanbinu.springboot.websocket.model;
22

33
public class Greeting {
44

springboot-stomp-websocket/src/main/java/net/alanbinu/springboot/websocket/model/HelloMessage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package net.javaguides.springboot.websocket.model;
1+
package net.alanbinu.springboot.websocket.model;
22

33
public class HelloMessage {
44

0 commit comments

Comments
 (0)