src/main/java/org/lightcouch/CouchDbClientBase.java
private void setEntity(HttpEntityEnclosingRequestBase httpRequest, String json) {
		StringEntity entity = new StringEntity(json, "UTF-8");
		entity.setContentType("application/json");
		httpRequest.setEntity(entity);
	}
private void setEntity(HttpEntityEnclosingRequestBase httpRequest, String json) {
		StringEntity entity = new StringEntity(json, "UTF-8");
		entity.setContentType("application/json");
		httpRequest.setEntity(entity);
	}
private void setEntity ( HttpEntityEnclosingRequestBase httpRequest , String json ) { StringEntity entity = new StringEntity ( json , "UTF-8" ) ; entity . setContentType ( "application/json" ) ; httpRequest . setEntity ( entity ) ; }
Sets a JSON String as a request entity.
@param httpRequest The request to set entity.
@param json The JSON String to set.
Sets a JSON String as a request entity .