批注接口 Selector
A
@Selector
can be used on a parameter of an @Endpoint
method
to indicate that the parameter is used to select a subset of the endpoint's data.
A @Selector
may change the way that the endpoint is exposed to the user. For
example, HTTP mapped endpoints will map select parameters to path variables.
- 从以下版本开始:
- 2.0.0
- 作者:
- Andy Wilkinson
-
嵌套类概要
嵌套类 -
可选元素概要
可选元素
-
元素详细资料
-
match
Selector.Match matchThe match type that should be used for the selection.- 返回:
- the match type
- 从以下版本开始:
- 2.2.0
- 默认值:
SINGLE
-