@Test public void getContentTypeShouldReturnWWWFormEncodedWithRequestsCharset(){ assertEquals("application/x-www-form-urlencoded; charset=UTF-8", toTest.getContentType(mockRequest())); }
public String getContentType(Request request) { return "application/x-www-form-urlencoded; charset=" + request.getMethodConfig().getCharset().displayName(); }
UrlEncodedFormEntityWriter implements EntityWriter { public String getContentType(Request request) { return "application/x-www-form-urlencoded; charset=" + request.getMethodConfig().getCharset().displayName(); } }
UrlEncodedFormEntityWriter implements EntityWriter { public String getContentType(Request request) { return "application/x-www-form-urlencoded; charset=" + request.getMethodConfig().getCharset().displayName(); }  }
UrlEncodedFormEntityWriter implements EntityWriter { public String getContentType(Request request) { return "application/x-www-form-urlencoded; charset=" + request.getMethodConfig().getCharset().displayName(); }  String getContentType(Request request); int getContentLength(Request request); void writeTo(Request request, OutputStream out); }
UrlEncodedFormEntityWriter implements EntityWriter { public String getContentType(Request request) { return "application/x-www-form-urlencoded; charset=" + request.getMethodConfig().getCharset().displayName(); }  String getContentType(Request request); int getContentLength(Request request); void writeTo(Request request, OutputStream out);  }