public static final class HttpEncodingRange.One extends HttpEncodingRange implements scala.Product, java.io.Serializable
HttpEncodingRange.$times, HttpEncodingRange.$times$, HttpEncodingRange.One, HttpEncodingRange.One$
Constructor and Description |
---|
One(HttpEncoding encoding,
float qValue) |
Modifier and Type | Method and Description |
---|---|
HttpEncoding |
encoding() |
boolean |
matches(HttpEncoding encoding) |
float |
qValue() |
<R extends Rendering> |
render(R r) |
HttpEncodingRange.One |
withQValue(float qValue) |
apply, apply, matches
create
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
$init$, productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
value
toString
withQValue
public One(HttpEncoding encoding, float qValue)
public HttpEncoding encoding()
public float qValue()
qValue
in class HttpEncodingRange
public boolean matches(HttpEncoding encoding)
matches
in class HttpEncodingRange
public HttpEncodingRange.One withQValue(float qValue)
withQValue
in interface WithQValue<HttpEncodingRange>
withQValue
in class HttpEncodingRange
public <R extends Rendering> Rendering render(R r)
render
in interface Renderable