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.ObjectRepresents an Http charset range. This can either be `*` which matches all charsets or a specific charset.HttpCharsetRangescontains static constructors for HttpCharsetRanges.
-
-
Constructor Summary
Constructors Constructor Description HttpCharsetRange()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract booleanmatches(HttpCharset charset)Returns if the given charset matches this range.abstract floatqValue()The qValue for this range.abstract HttpCharsetRangewithQValue(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.
-
-