public final class QueryParameterMap extends Object
| Modifier and Type | Method and Description |
|---|---|
static QueryParameterMap |
create(String name,
Object value)
Creates a QueryParameterMap and stores the supplied name/value pair.
|
Map<String,Object> |
getQueryParameters()
Gets the query parameters.
|
QueryParameterMap |
put(String name,
Object value)
Puts the supplied name/value pair into this QueryParameterMap.
|
public static QueryParameterMap create(String name, Object value)
name - The name of the query parameter.value - The value of the query parameter.IllegalArgumentException - When the supplied name is empty.NullPointerException - When the supplied name is null.public QueryParameterMap put(String name, Object value)
name - The name of the query parameter.value - The value of the query parameter.IllegalArgumentException - When the supplied name is empty.NullPointerException - When the supplied name is null.Copyright © 2008–2017. All rights reserved.