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

com.spotinst.sdkjava.client.http.DeleteRequestWithBody Maven / Gradle / Ivy

There is a newer version: 1.0.121
Show newest version
package com.spotinst.sdkjava.client.http;

import org.apache.http.annotation.Contract;
import org.apache.http.annotation.ThreadingBehavior;
import org.apache.http.client.methods.HttpPost;

import java.net.URI;

@Contract(threading = ThreadingBehavior.UNSAFE)
public class DeleteRequestWithBody extends HttpPost {

    @Override
    public String getMethod() {
        return "DELETE";
    }

    public DeleteRequestWithBody(final String requestUri) {
        super();
        setURI(URI.create(requestUri));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy