Class HttpCharsetRange

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract boolean matches​(HttpCharset charset)
      Returns if the given charset matches this range.
      abstract float qValue()
      The qValue for this range.
      abstract HttpCharsetRange withQValue​(float qValue)
      Returns a copy of this range with the given qValue.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpCharsetRange

        public HttpCharsetRange()
    • Method Detail

      • qValue

        public abstract float qValue()
        The qValue for this range.
      • matches

        public abstract boolean matches​(HttpCharset charset)
        Returns if the given charset matches this range.
      • withQValue

        public abstract HttpCharsetRange withQValue​(float qValue)
        Returns a copy of this range with the given qValue.