Class 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 Detail

      • ContentTypeRange

        public ContentTypeRange()
    • Method Detail

      • mediaRange

        public abstract MediaRange mediaRange()
      • matches

        public abstract boolean matches​(ContentType contentType)
        Returns true if this range includes the given content type.