org.jboss.resteasy.core.request
Class VariantQuality
java.lang.Object
org.jboss.resteasy.core.request.VariantQuality
public class VariantQuality
- extends java.lang.Object
A individual variant quality bean for the RVSA.
- Author:
- Pascal S. de Kloe
- See Also:
- "RFC 2296"
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VariantQuality
public VariantQuality()
setMediaTypeQualityValue
public void setMediaTypeQualityValue(QualityValue value)
setCharacterSetQualityValue
public void setCharacterSetQualityValue(QualityValue value)
setEncodingQualityValue
public void setEncodingQualityValue(QualityValue value)
setLanguageQualityValue
public void setLanguageQualityValue(QualityValue value)
getOverallQuality
public java.math.BigDecimal getOverallQuality()
- Returns:
- the quality value between zero and one with five decimal places after the point.
- See Also:
- "3.3 Computing overall quality values"
Copyright © 2010. All Rights Reserved.