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 SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic final classstatic class
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.HttpCharsetRangewithQValueMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.http.impl.util.RenderablerenderMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderabletoStringMethods inherited from interface org.apache.pekko.http.impl.util.ValueRenderablevalueMethods inherited from interface org.apache.pekko.http.scaladsl.model.WithQValuewithQValue, withQValue
- 
Constructor Details- 
HttpCharsetRangepublic HttpCharsetRange()
 
- 
- 
Method Details- 
apply
- 
apply
- 
qValuepublic abstract float qValue()Description copied from class:HttpCharsetRangeThe qValue for this range.- Specified by:
- qValuein class- HttpCharsetRange
 
- 
matches
- 
matchesJava API- Specified by:
- matchesin class- HttpCharsetRange
 
 
-