Package akka.http.scaladsl.model
Class HttpCharsetRange
java.lang.Object
akka.http.javadsl.model.HttpCharsetRange
akka.http.scaladsl.model.HttpCharsetRange
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,ValueRenderable
,WithQValue<HttpCharsetRange>
- Direct Known Subclasses:
HttpCharsetRange.$times
,HttpCharsetRange.One
public abstract class HttpCharsetRange
extends HttpCharsetRange
implements ValueRenderable, WithQValue<HttpCharsetRange>
A charset range as encountered in
Accept-Charset
. Can either be a single charset, or *
if all charsets are supported and optionally a qValue for selecting this choice.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static final class
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpCharsetRange
apply
(HttpCharset charset) static HttpCharsetRange
apply
(HttpCharset charset, float qValue) boolean
matches
(HttpCharset charset) Java APIabstract boolean
matches
(HttpCharset charset) abstract float
qValue()
The qValue for this range.Methods inherited from class akka.http.javadsl.model.HttpCharsetRange
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
-
Constructor Details
-
HttpCharsetRange
public HttpCharsetRange()
-
-
Method Details
-
apply
-
apply
-
qValue
public abstract float qValue()Description copied from class:HttpCharsetRange
The qValue for this range.- Specified by:
qValue
in classHttpCharsetRange
-
matches
-
matches
Java API- Specified by:
matches
in classHttpCharsetRange
-