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 HttpEncoding
encoding()
boolean
matches(HttpEncoding encoding)
float
qValue()
<R extends Rendering>
Renderingrender(R r)
HttpEncodingRange.One
withQValue(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:
qValue
in classHttpEncodingRange
-
matches
public boolean matches(HttpEncoding encoding)
- Specified by:
matches
in classHttpEncodingRange
-
withQValue
public HttpEncodingRange.One withQValue(float qValue)
- Specified by:
withQValue
in interfaceWithQValue<HttpEncodingRange>
- Specified by:
withQValue
in classHttpEncodingRange
-
render
public <R extends Rendering> Rendering render(R r)
- Specified by:
render
in interfaceRenderable
-
-