Package akka.http.javadsl.model
Class ContentTypeRange
- java.lang.Object
-
- akka.http.javadsl.model.ContentTypeRange
-
- Direct Known Subclasses:
ContentTypeRange
public abstract class ContentTypeRange extends java.lang.Object
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 Constructor Description ContentTypeRange()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract HttpCharsetRange
charsetRange()
abstract boolean
matches(ContentType contentType)
Returns true if this range includes the given content type.abstract MediaRange
mediaRange()
-
-
-
Method Detail
-
mediaRange
public abstract MediaRange mediaRange()
-
charsetRange
public abstract HttpCharsetRange charsetRange()
-
matches
public abstract boolean matches(ContentType contentType)
Returns true if this range includes the given content type.
-
-