Class VariantQuality
java.lang.Object
org.jboss.resteasy.core.request.VariantQuality
A individual variant quality bean for the RVSA (Remote Variant Selection Algorithm).
- Author:
- Pascal S. de Kloe
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.MediaType
void
void
void
void
void
setRequestMediaType
(jakarta.ws.rs.core.MediaType requestMediaType)
-
Constructor Details
-
VariantQuality
public VariantQuality()
-
-
Method Details
-
setMediaTypeQualityValue
-
setCharacterSetQualityValue
-
setEncodingQualityValue
-
setLanguageQualityValue
-
getRequestMediaType
public jakarta.ws.rs.core.MediaType getRequestMediaType() -
setRequestMediaType
public void setRequestMediaType(jakarta.ws.rs.core.MediaType requestMediaType) -
getOverallQuality
- Returns:
- the quality value between zero and one with five decimal places after the point.
- See Also:
-