All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jspringbot.keyword.http.HttpDeleteWithBody Maven / Gradle / Ivy

The newest version!
package org.jspringbot.keyword.http;

import org.apache.http.annotation.NotThreadSafe;
import org.apache.http.client.methods.HttpEntityEnclosingRequestBase;

import java.net.URI;

@NotThreadSafe
public class HttpDeleteWithBody extends HttpEntityEnclosingRequestBase {
    public static final String METHOD_NAME = "DELETE";

    public HttpDeleteWithBody() {
    }

    public HttpDeleteWithBody(URI uri) {
        this.setURI(uri);
    }

    public HttpDeleteWithBody(String uri) {
        this.setURI(URI.create(uri));
    }

    public String getMethod() {
        return METHOD_NAME;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy