public MediaType withParameter(String attribute, String value)
	{
		Map<String, String> params = new HashMap<String, String>();
		params.put(attribute, value);
		return withParameters(params);
	}
public MediaType withParameter ( String attribute , String value ) { Map < String , String > params = new HashMap < String , String > ( ) ; params . put ( attribute , value ) ; return withParameters ( params ) ; }
Returns a new {@code MediaType} instance similar to this one but with
the specified parameter set to the given value.

@param attribute the attribute of the parameter to add.
@param value the value of the parameter to add.

@return the created {@code MediaType}.

@throws NullPointerException if one of the arguments is {@code null}.
@throws IllegalArgumentException if {@code attribute} is invalid.