import org.apache.http.client.methods.HttpDelete;
import org.apache.http.client.methods.HttpEntityEnclosingRequestBase;
import org.apache.http.client.methods.HttpGet;
+import org.apache.http.client.methods.HttpPatch;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.methods.HttpPut;
import org.apache.http.client.methods.HttpRequestBase;
HttpPut httpPut = new HttpPut();
httpPut.setEntity(this.getStringEntity(input));
requestBase = httpPut;
+ } else if ("patch".equals(input.getMethod())) {
+ HttpPatch httpPatch = new HttpPatch();
+ httpPatch.setEntity(this.getStringEntity(input));
+ requestBase = httpPatch;
} else if ("get".equals(input.getMethod())) {
requestBase = new HttpGet();
} else if ("delete".equals(input.getMethod())) {