Package akka.http.impl.model
Class JavaQuery
java.lang.Object
akka.http.javadsl.model.Query
akka.http.impl.model.JavaQuery
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
INTERNAL API
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract static R
apply
(T1 v1) Returns the value of the first parameter with the given key if it exists.Returns the value of all parameters with the given key.Returns the value of the first parameter with the given key or the provided default value.query()
render
(HttpCharset charset) Renders this Query into its string representation using the given charset.render
(HttpCharset charset, akka.parboiled2.CharPredicate keep) Renders this Query into its string representation using the given charset and char predicate.toList()
Returns a `List` of all parameters of this Query.toMap()
Returns a key/value map of the parameters of this Query.Returns a `Map` of all parameters of this Query.toString()
Returns a copy of this instance with a query parameter added.Methods inherited from class akka.http.javadsl.model.Query
create, create, create, create, create, create
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
JavaQuery
-
-
Method Details
-
apply
public abstract static R apply(T1 v1) -
query
-
get
Description copied from class:Query
Returns the value of the first parameter with the given key if it exists. -
toMap
Description copied from class:Query
Returns a key/value map of the parameters of this Query. Use the `toList()` method to return all parameters if keys may occur multiple times. -
toList
Description copied from class:Query
Returns a `List` of all parameters of this Query. Use the `toMap()` method to filter out entries with duplicated keys. -
getOrElse
Description copied from class:Query
Returns the value of the first parameter with the given key or the provided default value. -
toMultiMap
Description copied from class:Query
Returns a `Map` of all parameters of this Query. Use the `toMap()` method to filter out entries with duplicated keys.- Specified by:
toMultiMap
in classQuery
-
getAll
Description copied from class:Query
Returns the value of all parameters with the given key. -
toString
-
withParam
Description copied from class:Query
Returns a copy of this instance with a query parameter added. -
render
Description copied from class:Query
Renders this Query into its string representation using the given charset. -
render
Description copied from class:Query
Renders this Query into its string representation using the given charset and char predicate.
-