javax.ws.rs.PathParam,
javax.ws.rs.QueryParam,
javax.ws.rs.MatrixParam,
javax.ws.rs.CookieParam,
javax.ws.rs.FormParam,
or javax.ws.rs.HeaderParam.
The default value is used if the corresponding meta-data is not present in the
request.
If the type of the annotated parameter is java.util.List,
java.util.Set or java.util.SortedSet then the resulting collection
will have a single entry mapped from the supplied default value.
If this annotation is not used and the corresponding meta-data is not
present in the request, the value will be an empty collection for
List, Set or SortedSet, null for
other object types, and the Java-defined default for primitive types.
PathParam, QueryParam, FormParam, HeaderParam, MatrixParam, CookieParam
| Modifier and Type | Method and Description |
|---|---|
| public String |
| value | back to summary |
|---|---|
| public String value() The specified default value. | |