removeQualityValue method

MediaType removeQualityValue()

Implementation

MediaType removeQualityValue() {
	if (!getParameters().containsKey(PARAM_QUALITY_FACTOR)) {
		return this;
	}
	Map<String, String> params = new LinkedHashMap<String, String>();
    params.addAll(getParameters());
	params.remove(PARAM_QUALITY_FACTOR);
	return new MediaType(this.getType(), parameters: params);
}