Class ContentTypeRange
java.lang.Object
org.apache.pekko.http.javadsl.model.ContentTypeRange
org.apache.pekko.http.scaladsl.model.ContentTypeRange
- All Implemented Interfaces:
Serializable,Renderable,ToStringRenderable,ValueRenderable,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 ContentTypeRangeapply(ContentType contentType) static ContentTypeRangeapply(MediaRange mediaRange) static ContentTypeRangebooleanmatches(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, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderable
toStringMethods inherited from interface org.apache.pekko.http.impl.util.ValueRenderable
value
-
Constructor Details
-
ContentTypeRange
-
-
Method Details
-
apply
-
apply
-
apply
-
mediaRange
- Specified by:
mediaRangein classContentTypeRange
-
charsetRange
- Specified by:
charsetRangein classContentTypeRange
-
matches
Description copied from class:ContentTypeRangeReturns true if this range includes the given content type.- Specified by:
matchesin classContentTypeRange
-
render
- Specified by:
renderin interfaceRenderable
-