You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
237 B
Groovy
16 lines
237 B
Groovy
12 years ago
|
package org.test
|
||
|
|
||
12 years ago
|
@Grab("org.springframework.bootstrap:spring-bootstrap-actuator:0.5.0.BUILD-SNAPSHOT")
|
||
12 years ago
|
|
||
|
@Controller
|
||
|
class SampleController {
|
||
|
|
||
|
@RequestMapping("/")
|
||
|
@ResponseBody
|
||
|
public def hello() {
|
||
|
[message: "Hello World!"]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|