Package akka.http.scaladsl.model.headers
Class HttpEncodingRange
- java.lang.Object
-
- akka.http.javadsl.model.headers.HttpEncodingRange
-
- akka.http.scaladsl.model.headers.HttpEncodingRange
-
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,ValueRenderable
,WithQValue<HttpEncodingRange>
- Direct Known Subclasses:
HttpEncodingRange.$times
,HttpEncodingRange.One
public abstract class HttpEncodingRange extends HttpEncodingRange implements ValueRenderable, WithQValue<HttpEncodingRange>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HttpEncodingRange.$times
static class
HttpEncodingRange.$times$
static class
HttpEncodingRange.One
static class
HttpEncodingRange.One$
-
Constructor Summary
Constructors Constructor Description HttpEncodingRange()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static HttpEncodingRange
apply(HttpEncoding encoding)
static HttpEncodingRange
apply(HttpEncoding encoding, float qValue)
boolean
matches(HttpEncoding encoding)
Java APIabstract boolean
matches(HttpEncoding encoding)
abstract float
qValue()
-
Methods inherited from class akka.http.javadsl.model.headers.HttpEncodingRange
create, withQValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.http.impl.util.Renderable
render
-
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, withQValue
-
-
-
-
Method Detail
-
apply
public static HttpEncodingRange apply(HttpEncoding encoding)
-
apply
public static HttpEncodingRange apply(HttpEncoding encoding, float qValue)
-
qValue
public abstract float qValue()
- Specified by:
qValue
in classHttpEncodingRange
-
matches
public abstract boolean matches(HttpEncoding encoding)
-
matches
public boolean matches(HttpEncoding encoding)
Java API- Specified by:
matches
in classHttpEncodingRange
-
-