public void setBody(String body) throws Exception { this.body = URLEncoder.encode(body, "UTF-8"); // this.body = body; }
public void setHeadline(String headline) throws Exception { this.headline = URLEncoder.encode(headline, "UTF-8"); // this.headline = headline; }