public static final class HttpCharsetRange.One extends HttpCharsetRange implements scala.Product, java.io.Serializable
HttpCharsetRange.$times, HttpCharsetRange.$times$, HttpCharsetRange.One, HttpCharsetRange.One$
Constructor and Description |
---|
One(HttpCharset charset,
float qValue) |
Modifier and Type | Method and Description |
---|---|
HttpCharset |
charset() |
boolean |
matches(HttpCharset charset) |
float |
qValue()
The qValue for this range.
|
<R extends Rendering> |
render(R r) |
HttpCharsetRange.One |
withQValue(float qValue)
Returns a copy of this range with the given qValue.
|
apply, apply, matches
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
$init$, productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
value
toString
withQValue
public One(HttpCharset charset, float qValue)
public HttpCharset charset()
public float qValue()
HttpCharsetRange
qValue
in class HttpCharsetRange
public boolean matches(HttpCharset charset)
matches
in class HttpCharsetRange
public HttpCharsetRange.One withQValue(float qValue)
HttpCharsetRange
withQValue
in interface WithQValue<HttpCharsetRange>
withQValue
in class HttpCharsetRange
public <R extends Rendering> Rendering render(R r)
render
in interface Renderable