public abstract class HttpCharsetRange extends HttpCharsetRange implements ValueRenderable, WithQValue<HttpCharsetRange>
Accept-Charset. Can either be a single charset, or *
if all charsets are supported and optionally a qValue for selecting this choice.| Modifier and Type | Class and Description |
|---|---|
static class |
HttpCharsetRange.$times |
static class |
HttpCharsetRange.$times$ |
static class |
HttpCharsetRange.One |
static class |
HttpCharsetRange.One$ |
| Constructor and Description |
|---|
HttpCharsetRange() |
| Modifier and Type | Method and Description |
|---|---|
static HttpCharsetRange |
apply(HttpCharset charset) |
static HttpCharsetRange |
apply(HttpCharset charset,
float qValue) |
abstract boolean |
matches(HttpCharset charset) |
boolean |
matches(HttpCharset charset)
Java API
|
abstract float |
qValue()
The qValue for this range.
|
withQValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvaluetoStringrenderwithQValue, withQValuepublic static HttpCharsetRange apply(HttpCharset charset)
public static HttpCharsetRange apply(HttpCharset charset, float qValue)
public abstract float qValue()
HttpCharsetRangeqValue in class HttpCharsetRangepublic abstract boolean matches(HttpCharset charset)
public boolean matches(HttpCharset charset)
matches in class HttpCharsetRange