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 TypeMethodDescriptionvoid
void
void
clear()
boolean
getAll()
getFirstValue
(String key) getFirstValue
(String key, String defaultValue) int
hashCode()
boolean
isEmpty()
iterator()
void
void
void
Replaces all headers with the given name with a single header.int
size()
stream()
toMap()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
iterator
in interfaceIterable<KeyValuePair>
-
remove
-
removeAll
- See Also:
-
set
-
size
public int size() -
stream
-
toMap
-
toString
-