src/org/kocakosm/pitaya/net/MediaType.java
public Charset charset()
	{
		String charset = parameters.get(CHARSET);
		return charset == null ? null : Charset.forName(charset);
	}
public Charset charset()
	{
		String charset = parameters.get(CHARSET);
		return charset == null ? null : Charset.forName(charset);
	}
Returns the value of the charset parameter if it is specified, or
{@code null} otherwise.

@return the charset parameter's value if present, or {@code null}
otherwise.

@throws IllegalCharsetNameException if the charset is illegal.
@throws UnsupportedCharsetException if the charset is not supported.