Package akka.http.scaladsl.model
Class ContentTypeRange
java.lang.Object
akka.http.javadsl.model.ContentTypeRange
akka.http.scaladsl.model.ContentTypeRange
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,ValueRenderable
,Serializable
,scala.Equals
,scala.Product
public final class ContentTypeRange
extends ContentTypeRange
implements ValueRenderable, scala.Product, Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ContentTypeRange
apply
(ContentType contentType) static ContentTypeRange
apply
(MediaRange mediaRange) static ContentTypeRange
boolean
matches
(ContentType contentType) Returns true if this range includes the given content type.render
(R r) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
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
-
Constructor Details
-
ContentTypeRange
-
-
Method Details
-
apply
-
apply
-
apply
-
mediaRange
- Specified by:
mediaRange
in classContentTypeRange
-
charsetRange
- Specified by:
charsetRange
in classContentTypeRange
-
matches
Description copied from class:ContentTypeRange
Returns true if this range includes the given content type.- Specified by:
matches
in classContentTypeRange
-
render
- Specified by:
render
in interfaceRenderable
-