public class TestController
extends Object
- Author:
- bam
2020 March 5th 2013
TestController.java
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TestController
public TestController()
-
Method Details
-
index
@GetMapping("/")
public String index()
-
publishTopic
@GetMapping("/publishTopic")
public String publishTopic()
-
test1
@RequestMapping("/publishTopic/{data}")
public void test1(@PathVariable("data")
String data)
-
test2
@RequestMapping("/publishTopic/{topic}/{data}")
public void test2(@PathVariable("topic")
String topic,
@PathVariable("data")
String data)