code: private static Charset getCharset(HttpOutputMessage outputMessage)
  	{
  		Charset charset = outputMessage.getHeaders().getContentType().getCharSet();
  		
  		if (charset == null)
  		{
  			charset = DEFAULT_CHARSET;
  		}
  		
  		return charset;
  	}
docs: ----------------------------------------------------------------------------------------------------------------