Class ContentTypeRange

java.lang.Object
akka.http.javadsl.model.ContentTypeRange
Direct Known Subclasses:
ContentTypeRange

public abstract class ContentTypeRange extends Object
A data structure that combines an acceptable media range and an acceptable charset range into one structure to be used with unmarshalling.
  • Constructor Details

    • ContentTypeRange

      public ContentTypeRange()
  • Method Details

    • 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.