You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The @Selector annotation allows endpoints to capture path segments when exposed over the web. For example void find(@Selector String one, @Selector String two) will be mapped to /<root>/<endpoint>/find/{one}/{two}.
For some endpoints, it would be nice if we could capture all remaining path segments rather than limit ourselves to one. For example it would be nice if we could write void find(@MultiSelector String[] segments) and have it mapped to /<root>/<endpoint>/find/{*segements}. If a call such as /<root>/<endpoint>/find/spring/boot would invoke the method with a segments value of {"spring", "boot"}.
The text was updated successfully, but these errors were encountered:
The
@Selector
annotation allows endpoints to capture path segments when exposed over the web. For examplevoid find(@Selector String one, @Selector String two)
will be mapped to/<root>/<endpoint>/find/{one}/{two}
.For some endpoints, it would be nice if we could capture all remaining path segments rather than limit ourselves to one. For example it would be nice if we could write
void find(@MultiSelector String[] segments)
and have it mapped to/<root>/<endpoint>/find/{*segements}
. If a call such as/<root>/<endpoint>/find/spring/boot
would invoke the method with asegments
value of{"spring", "boot"}
.The text was updated successfully, but these errors were encountered: