src/main/java/js/http/ContentType.java
public boolean hasParameter(String name, String value) {
		Params.notNullOrEmpty(name, "Parameter name");
		Params.notNullOrEmpty(value, "Parameter value");
		return value.equals(parameters.get(name));
	}
public boolean hasParameter(String name, String value) {
		Params.notNullOrEmpty(name, "Parameter name");
		Params.notNullOrEmpty(value, "Parameter value");
		return value.equals(parameters.get(name));
	}
public boolean hasParameter ( String name , String value ) { Params . notNullOrEmpty ( name , "Parameter name" ) ; Params . notNullOrEmpty ( value , "Parameter value" ) ; return value . equals ( parameters . get ( name ) ) ; }
Test if content type has a parameter with requested name and value.

@param name parameter name,
@param value parameter value.
@return true if content type has a parameter with requested name and value.
@throws IllegalArgumentException if <code>name</code> argument is null or empty.
@throws IllegalArgumentException if <code>value</code> argument is null or empty.
Test if content type has a parameter with requested name and value .