@Target(value=PARAMETER) @Retention(value=RUNTIME) @Documented public @interface TokenParam
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
required
Whether the parameter is required.
|
public abstract boolean required
Defaults to false, leading to a null value if the parameter is
not present in the request. Switch this to
true if you prefer an exception being thrown
if the parameter is missing in the request.
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.