批注接口 Selector


@Target(PARAMETER) @Retention(RUNTIME) @Documented public @interface 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
  • 嵌套类概要

    嵌套类
    修饰符和类型
    说明
    static enum 
    Match types that can be used with the @Selector.
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    The match type that should be used for the selection.
  • 元素详细资料

    • match

      The match type that should be used for the selection.
      返回:
      the match type
      从以下版本开始:
      2.2.0
      默认值:
      SINGLE