REST methods annotated as Prefix are expected to return another REST API trait as their result.
They do not yet represent an actual HTTP request but contribute to URL path, HTTP headers and query parameters.
By default, parameters of a prefix method are interpreted as URL path fragments. Their values are encoded as
PathValue and appended to URL path. Alternatively, each parameter may also be explicitly annotated as
Header or Query.
NOTE: REST method is interpreted as prefix method by default which means that there is no need to apply Prefix
annotation explicitly unless you want to specify a custom path.
REST methods annotated as Prefix are expected to return another REST API trait as their result. They do not yet represent an actual HTTP request but contribute to URL path, HTTP headers and query parameters.
By default, parameters of a prefix method are interpreted as URL path fragments. Their values are encoded as PathValue and appended to URL path. Alternatively, each parameter may also be explicitly annotated as Header or Query.
NOTE: REST method is interpreted as prefix method by default which means that there is no need to apply Prefix annotation explicitly unless you want to specify a custom path.