public class URLParameters extends BagMap<String,String> implements Serializable
| Constructor and Description |
|---|
URLParameters()
Starts off with no parameters.
|
| Modifier and Type | Method and Description |
|---|---|
URLParameters |
add(String key,
String value)
Adds an entry.
|
void |
append(String key,
String value)
Appends a parameter.
|
URLParameters |
clone()
Deep clone.
|
void |
delete(String key)
Deletes all values for this key.
|
boolean |
equals(Object o)
URLParameters objects are equal if the have the same keys and values.
|
List<String> |
getAll(String key)
Gets all values of this key.
|
int |
hashCode()
Matches equals(), does not take order into account.
|
URLParameters |
parse(String query)
Parse a query string and adds the found parameters.
|
String |
toString()
A string that can be appended to a URL.
|
public void append(String key, String value)
public URLParameters clone()
public void delete(String key)
public URLParameters add(String key, String value)
public String toString()
public URLParameters parse(String query)
public boolean equals(Object o)
Copyright © 2016. All rights reserved.