Package akka.http.scaladsl.model
Interface WithQValue<T>
- All Known Subinterfaces:
LanguageRange
- All Known Implementing Classes:
HttpCharset
,HttpCharsetRange
,HttpCharsetRange.$times
,HttpCharsetRange.$times$
,HttpCharsetRange.One
,HttpEncoding
,HttpEncodingRange
,HttpEncodingRange.$times
,HttpEncodingRange.$times$
,HttpEncodingRange.One
,Language
,LanguageRange.$times
,LanguageRange.$times$
,LanguageRange.One
,MediaRange
,MediaRange.One
,MediaRanges.PredefinedMediaRange
,MediaType
,MediaType.Binary
,MediaType.Multipart
,MediaType.NonBinary
,MediaType.NonMultipartWithOpenCharset
,MediaType.WithFixedCharset
,MediaType.WithOpenCharset
public interface WithQValue<T>
Helper trait for objects that allow creating new instances with a modified qValue.
-
Method Summary
Modifier and TypeMethodDescriptionwithQValue
(double qValue) truncates Double qValue to float and returns a new instance with this qValue setwithQValue
(float qValue)
-
Method Details
-
withQValue
truncates Double qValue to float and returns a new instance with this qValue set -
withQValue
-