Class HttpCharsetRange.One
java.lang.Object
org.apache.pekko.http.javadsl.model.HttpCharsetRange
org.apache.pekko.http.scaladsl.model.HttpCharsetRange
org.apache.pekko.http.scaladsl.model.HttpCharsetRange.One
- All Implemented Interfaces:
Serializable,Renderable,ToStringRenderable,ValueRenderable,WithQValue<HttpCharsetRange>,scala.Equals,scala.Product
- Enclosing class:
- HttpCharsetRange
public static final class HttpCharsetRange.One
extends HttpCharsetRange
implements scala.Product, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.HttpCharsetRange
HttpCharsetRange.$times, HttpCharsetRange.$times$, HttpCharsetRange.One, HttpCharsetRange.One$ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharset()booleanmatches(HttpCharset charset) floatqValue()The qValue for this range.render(R r) withQValue(float qValue) Returns a copy of this range with the given qValue.Methods inherited from class org.apache.pekko.http.scaladsl.model.HttpCharsetRange
apply, apply, matchesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods 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
-
Constructor Details
-
One
-
-
Method Details
-
charset
-
qValue
public float qValue()Description copied from class:HttpCharsetRangeThe qValue for this range.- Specified by:
qValuein classHttpCharsetRange
-
matches
- Specified by:
matchesin classHttpCharsetRange
-
withQValue
Description copied from class:HttpCharsetRangeReturns a copy of this range with the given qValue.- Specified by:
withQValuein interfaceWithQValue<HttpCharsetRange>- Specified by:
withQValuein classHttpCharsetRange
-
render
- Specified by:
renderin interfaceRenderable
-