hr.com.vgv.verano.http.request.methods.Post Maven / Gradle / Ivy
package hr.com.vgv.verano.http.request.methods;
import org.cactoos.iterable.IterableOf;
import hr.com.vgv.verano.http.DictInput;
import hr.com.vgv.verano.http.request.Request;
public class Post extends Request
{
public Post(DictInput... inputs) {
this("", new IterableOf<>(inputs));
}
public Post(Iterable inputs) {
this("", inputs);
}
public Post(String path) {
this(path, new IterableOf<>());
}
public Post(String path, DictInput... inputs) {
this(path, new IterableOf<>(inputs));
}
public Post(String path, Iterable inputs)
{
super(path, "POST", inputs);
}
}