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, matchesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait$init$, productArity, productElement, productElementName, productElementNames, productIterator, productPrefixvaluetoStringwithQValuepublic One(HttpCharset charset, float qValue)
public HttpCharset charset()
public float qValue()
HttpCharsetRangeqValue in class HttpCharsetRangepublic boolean matches(HttpCharset charset)
matches in class HttpCharsetRangepublic HttpCharsetRange.One withQValue(float qValue)
HttpCharsetRangewithQValue in interface WithQValue<HttpCharsetRange>withQValue in class HttpCharsetRangepublic <R extends Rendering> Rendering render(R r)
render in interface Renderable