Class Query
java.lang.Object
is.galia.http.Query
- All Implemented Interfaces:
Iterable<KeyValuePair>
Encapsulates a collection of URI query arguments.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidclear()booleangetAll()getFirstValue(String key) getFirstValue(String key, String defaultValue) inthashCode()booleanisEmpty()iterator()voidvoidvoidReplaces all headers with the given name with a single header.intsize()stream()toMap()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Query
public Query() -
Query
-
Query
Copy constructor.
-
-
Method Details
-
add
-
add
-
clear
public void clear() -
equals
-
getAll
-
getAll
-
getFirstValue
-
getFirstValue
-
hashCode
-
isEmpty
public boolean isEmpty() -
iterator
- Specified by:
iteratorin interfaceIterable<KeyValuePair>
-
remove
-
removeAll
- See Also:
-
set
-
size
public int size() -
stream
-
toMap
-
toString
-