Annotation Type PathParam
-
@Retention(RUNTIME) @Target(PARAMETER) public @interface PathParam
Annotation to annotate replacement for a named path segment in REST endpoint URL.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
value
The name of the variable in the endpoint uri template which will be replaced with the value of the parameter annotated with this annotation.
-
-
-
Element Detail
-
value
java.lang.String value
The name of the variable in the endpoint uri template which will be replaced with the value of the parameter annotated with this annotation.- Returns:
- The name of the variable in the endpoint uri template which will be replaced with the value of the parameter annotated with this annotation.
-
-
-
encoded
boolean encoded
A value true for this argument indicates that value ofvalue()
is already encoded hence engine should not encode it, by default value will be encoded.- Returns:
- Whether or not this path parameter is already encoded.
- Default:
- false
-
-