You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
438 B
19 lines
438 B
|
2 years ago
|
package tv.anypoint.proxy.web
|
||
|
|
|
||
|
|
import mu.KLogging
|
||
|
|
import org.springframework.web.bind.annotation.GetMapping
|
||
|
|
import org.springframework.web.bind.annotation.RequestMapping
|
||
|
|
import org.springframework.web.bind.annotation.RestController
|
||
|
|
|
||
|
|
@RequestMapping("/test")
|
||
|
|
@RestController
|
||
|
|
class TestController {
|
||
|
|
@GetMapping
|
||
|
|
fun testGet(): Boolean {
|
||
|
|
logger.info("GET /test")
|
||
|
|
return true
|
||
|
|
}
|
||
|
|
|
||
|
|
companion object : KLogging()
|
||
|
|
}
|