class ContentType {

	public void setCharset(String charset) {
		if(this.charset == null) {
			throw new UnsupportedCharsetException("provided mediatype does not support setting charset");
		}

		if(StringUtils.isNotEmpty(charset)) {
			this.charset = Charset.forName(charset);
		}
	}

	public  ContentType(MediaTypes mediaType);

}