public class QueryParameter extends Object
| Constructor and Description |
|---|
QueryParameter() |
| Modifier and Type | Method and Description |
|---|---|
static QueryParameter |
of(MethodParameter parameter)
Creates a new
QueryParameter from the given MethodParameter. |
static QueryParameter |
optional(String name)
Creates a new optional
QueryParameter with the given name; |
static QueryParameter |
required(String name)
Creates a new required
QueryParameter with the given name; |
public static QueryParameter of(MethodParameter parameter)
QueryParameter from the given MethodParameter.parameter - must not be null.public static QueryParameter required(String name)
QueryParameter with the given name;name - must not be null or empty.public static QueryParameter optional(String name)
QueryParameter with the given name;name - must not be null or empty.Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.