Package org.apache.pekko.http.impl.model
Class JavaQuery
java.lang.Object
org.apache.pekko.http.javadsl.model.Query
org.apache.pekko.http.impl.model.JavaQuery
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
INTERNAL API
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract static Rapply(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, org.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 org.apache.pekko.http.javadsl.model.Query
create, create, create, create, create, createMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods 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:QueryReturns the value of the first parameter with the given key if it exists. -
toMap
Description copied from class:QueryReturns 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:QueryReturns a `List` of all parameters of this Query. Use the `toMap()` method to filter out entries with duplicated keys. -
getOrElse
Description copied from class:QueryReturns the value of the first parameter with the given key or the provided default value. -
toMultiMap
Description copied from class:QueryReturns a `Map` of all parameters of this Query. Use the `toMap()` method to filter out entries with duplicated keys.- Specified by:
toMultiMapin classQuery
-
getAll
Description copied from class:QueryReturns the value of all parameters with the given key. -
toString
-
withParam
Description copied from class:QueryReturns a copy of this instance with a query parameter added. -
render
Description copied from class:QueryRenders this Query into its string representation using the given charset. -
render
Description copied from class:QueryRenders this Query into its string representation using the given charset and char predicate.
-