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 SummaryConstructors
- 
Method SummaryModifier 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.Querycreate, create, create, create, create, createMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefix
- 
Constructor Details- 
JavaQuery
 
- 
- 
Method Details- 
applypublic abstract static R apply(T1 v1) 
- 
query
- 
getDescription copied from class:QueryReturns the value of the first parameter with the given key if it exists.
- 
toMapDescription 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.
- 
toListDescription copied from class:QueryReturns a `List` of all parameters of this Query. Use the `toMap()` method to filter out entries with duplicated keys.
- 
getOrElseDescription copied from class:QueryReturns the value of the first parameter with the given key or the provided default value.
- 
toMultiMapDescription 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 class- Query
 
- 
getAllDescription copied from class:QueryReturns the value of all parameters with the given key.
- 
toString
- 
withParamDescription copied from class:QueryReturns a copy of this instance with a query parameter added.
- 
renderDescription copied from class:QueryRenders this Query into its string representation using the given charset.
- 
renderDescription copied from class:QueryRenders this Query into its string representation using the given charset and char predicate.
 
-