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
FieldsModifier and TypeFieldDescriptionstatic final floatDefault quality value.static final StringQuality value. -
Method Summary
-
Field Details
-
DEFAULT_QUALITY_VALUE
static final float DEFAULT_QUALITY_VALUEDefault quality value. It should be used if quality value is not specified in accept token.- See Also:
-
QVALUE
Quality value.- See Also:
-
-
Method Details
-
getQvalue
float getQvalue()- Returns:
- value of quality parameter
-