io.searchbox.client.http.apache.HttpDeleteWithEntity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jest Show documentation
Show all versions of jest Show documentation
ElasticSearch Java REST client - Apache HTTP Client package
package io.searchbox.client.http.apache;
import org.apache.http.client.methods.HttpDelete;
import org.apache.http.client.methods.HttpEntityEnclosingRequestBase;
import java.net.URI;
/**
* @author ferhat
*/
public class HttpDeleteWithEntity extends HttpEntityEnclosingRequestBase {
public HttpDeleteWithEntity() {
super();
}
public HttpDeleteWithEntity(URI uri) {
super();
setURI(uri);
}
public HttpDeleteWithEntity(String uri) {
super();
setURI(URI.create(uri));
}
@Override
public String getMethod() {
return HttpDelete.METHOD_NAME;
}
}