}
public void setCharacterEncoding(String s)
{
List<Parameter> parameters = new ArrayList<Parameter>();
MediaType mediaType = null;
String contentTypeString = getContentType();
if (contentTypeString != null)
{
ContentType contentType = ContentType.create(contentTypeString);