【发布时间】:2017-06-13 22:18:36
【问题描述】:
我不明白Play Java中@With注解的含义。
我们在 StackOverflow 中有 the same question,它似乎是 Play1,而不是 Play2。
在Play的最新版本文档中,我看到了这个例子。
@With(VerboseAction.class)
public Result verboseIndex() {
return ok("It works!"); }
这是什么意思?上述情况下,有注解和无注解有什么区别?
【问题讨论】:
标签: java playframework annotations playframework-2.5