public class QueryParameter extends Object implements Comparable<QueryParameter>
In following url: http://localhost:8081/persons?name=Smith&gender=female there are 2 query parameters: name=Smith and gender=female.
| Constructor and Description |
|---|
QueryParameter(String key,
String value)
Creates a new instance.
|
public String getKey()
public String getValue()
public int compareTo(QueryParameter o)
compareTo in interface Comparable<QueryParameter>Copyright © 2014. All Rights Reserved.