code: public void setResponse(String response) {
  		this.response = response;
  		try {
  			this.responseLength = response.getBytes("UTF-8").length;
  		} catch (UnsupportedEncodingException e) {
  			this.responseLength = response.length();
  		}
  	}
docs: Set the response string
  
  @param response The response to set