Class HttpCharsetRange
java.lang.Object
org.apache.pekko.http.javadsl.model.HttpCharsetRange
org.apache.pekko.http.scaladsl.model.HttpCharsetRange
- All Implemented Interfaces:
Renderable,ToStringRenderable,ValueRenderable,WithQValue<HttpCharsetRange>
- Direct Known Subclasses:
HttpCharsetRange.$times,HttpCharsetRange.One
public abstract class HttpCharsetRange
extends HttpCharsetRange
implements ValueRenderable, WithQValue<HttpCharsetRange>
A charset range as encountered in
Accept-Charset. Can either be a single charset, or *
if all charsets are supported and optionally a qValue for selecting this choice.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic final classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpCharsetRangeapply(HttpCharset charset) static HttpCharsetRangeapply(HttpCharset charset, float qValue) booleanmatches(HttpCharset charset) Java APIabstract booleanmatches(HttpCharset charset) abstract floatqValue()The qValue for this range.Methods inherited from class org.apache.pekko.http.javadsl.model.HttpCharsetRange
withQValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.http.impl.util.Renderable
renderMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderable
toStringMethods inherited from interface org.apache.pekko.http.impl.util.ValueRenderable
valueMethods inherited from interface org.apache.pekko.http.scaladsl.model.WithQValue
withQValue, withQValue
-
Constructor Details
-
HttpCharsetRange
public HttpCharsetRange()
-
-
Method Details
-
apply
-
apply
-
qValue
public abstract float qValue()Description copied from class:HttpCharsetRangeThe qValue for this range.- Specified by:
qValuein classHttpCharsetRange
-
matches
-
matches
Java API- Specified by:
matchesin classHttpCharsetRange
-