Package akka.http.javadsl.model
Class HttpCharsetRange
- java.lang.Object
-
- akka.http.javadsl.model.HttpCharsetRange
-
- Direct Known Subclasses:
HttpCharsetRange
public abstract class HttpCharsetRange extends java.lang.Object
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
Constructors Constructor Description HttpCharsetRange()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract 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.
-
-
-
Method Detail
-
qValue
public abstract float qValue()
The qValue for this range.
-
matches
public abstract boolean matches(HttpCharset charset)
Returns if the given charset matches this range.
-
withQValue
public abstract HttpCharsetRange withQValue(float qValue)
Returns a copy of this range with the given qValue.
-
-