Interface QualityValue

All Known Implementing Classes:
AcceptLanguage, AcceptMediaType, AcceptToken

public interface QualityValue
Implementation of this interface is useful for sort accepted media type and languages by quality factor. For example see HTTP/1.1 documentation
Version:
$Id: $
Author:
Andrey Parfonov
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final float
    Default quality value.
    static final String
    Quality value.
  • Method Summary

    Modifier and Type
    Method
    Description
    float
     
  • Field Details

    • DEFAULT_QUALITY_VALUE

      static final float DEFAULT_QUALITY_VALUE
      Default quality value. It should be used if quality value is not specified in accept token.
      See Also:
    • QVALUE

      static final String QVALUE
      Quality value.
      See Also:
  • Method Details

    • getQvalue

      float getQvalue()
      Returns:
      value of quality parameter