Package akka.http.javadsl.model
Class HttpCharsetRange
java.lang.Object
akka.http.javadsl.model.HttpCharsetRange
- Direct Known Subclasses:
HttpCharsetRange
Represents an Http charset range. This can either be `*` which matches all charsets or a specific
charset.
HttpCharsetRanges
contains static constructors for HttpCharsetRanges.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
matches
(HttpCharset charset) Returns if the given charset matches this range.abstract float
qValue()
The qValue for this range.abstract HttpCharsetRange
withQValue
(float qValue) Returns a copy of this range with the given qValue.
-
Constructor Details
-
HttpCharsetRange
public HttpCharsetRange()
-
-
Method Details
-
qValue
public abstract float qValue()The qValue for this range. -
matches
Returns if the given charset matches this range. -
withQValue
Returns a copy of this range with the given qValue.
-