Package akka.http.javadsl.model
Class ContentTypeRange
java.lang.Object
akka.http.javadsl.model.ContentTypeRange
- Direct Known Subclasses:
ContentTypeRange
A data structure that combines an acceptable media range and an acceptable charset range into
one structure to be used with unmarshalling.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract HttpCharsetRange
abstract boolean
matches
(ContentType contentType) Returns true if this range includes the given content type.abstract MediaRange
-
Constructor Details
-
ContentTypeRange
public ContentTypeRange()
-
-
Method Details
-
mediaRange
-
charsetRange
-
matches
Returns true if this range includes the given content type.
-