Annotation Type 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.
- Since:
- 2.0.0
- Author:
- Andy Wilkinson
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Match types that can be used with the@Selector
. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionThe match type that should be used for the selection.
-
Element Details
-
match
Selector.Match matchThe match type that should be used for the selection.- Returns:
- the match type
- Since:
- 2.2.0
- Default:
- SINGLE
-