@Controller public class ViewController extends Object
| Constructor and Description |
|---|
ViewController() |
| Modifier and Type | Method and Description |
|---|---|
String |
playAudioGet(String identifier,
org.springframework.ui.Model model) |
String |
playAudioPost(String identifier) |
String |
viewHomepage(org.springframework.ui.Model model) |
String |
viewVideoGet(String identifier,
org.springframework.ui.Model model) |
String |
viewVideoPost(String identifier) |
@RequestMapping(value={"","/"},
method=GET)
public String viewHomepage(org.springframework.ui.Model model)
@RequestMapping(value="/audio/play",
method=POST)
public String playAudioPost(@RequestParam
String identifier)
@RequestMapping(value="/audio/{identifier}/play.html",
method=GET)
public String playAudioGet(@PathVariable
String identifier,
org.springframework.ui.Model model)
@RequestMapping(value="/video/view",
method=POST)
public String viewVideoPost(@RequestParam
String identifier)
Copyright © 2018. All rights reserved.