Package akka.http.scaladsl.model.headers
Class HttpEncodingRange.One
- java.lang.Object
-
- akka.http.javadsl.model.headers.HttpEncodingRange
-
- akka.http.scaladsl.model.headers.HttpEncodingRange
-
- akka.http.scaladsl.model.headers.HttpEncodingRange.One
-
- All Implemented Interfaces:
Renderable,ToStringRenderable,ValueRenderable,WithQValue<HttpEncodingRange>,java.io.Serializable,scala.Equals,scala.Product
- Enclosing class:
- HttpEncodingRange
public static final class HttpEncodingRange.One extends HttpEncodingRange implements scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.http.scaladsl.model.headers.HttpEncodingRange
HttpEncodingRange.$times, HttpEncodingRange.$times$, HttpEncodingRange.One, HttpEncodingRange.One$
-
-
Constructor Summary
Constructors Constructor Description One(HttpEncoding encoding, float qValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpEncodingencoding()booleanmatches(HttpEncoding encoding)floatqValue()<R extends Rendering>
Renderingrender(R r)HttpEncodingRange.OnewithQValue(float qValue)-
Methods inherited from class akka.http.scaladsl.model.headers.HttpEncodingRange
apply, apply, matches
-
Methods inherited from class akka.http.javadsl.model.headers.HttpEncodingRange
create
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
-
Methods inherited from interface akka.http.impl.util.ValueRenderable
value
-
Methods inherited from interface akka.http.scaladsl.model.WithQValue
withQValue
-
-
-
-
Constructor Detail
-
One
public One(HttpEncoding encoding, float qValue)
-
-
Method Detail
-
encoding
public HttpEncoding encoding()
-
qValue
public float qValue()
- Specified by:
qValuein classHttpEncodingRange
-
matches
public boolean matches(HttpEncoding encoding)
- Specified by:
matchesin classHttpEncodingRange
-
withQValue
public HttpEncodingRange.One withQValue(float qValue)
- Specified by:
withQValuein interfaceWithQValue<HttpEncodingRange>- Specified by:
withQValuein classHttpEncodingRange
-
render
public <R extends Rendering> Rendering render(R r)
- Specified by:
renderin interfaceRenderable
-
-