org.bedework.util.http.HttpMkcol Maven / Gradle / Ivy
/* ********************************************************************
Appropriate copyright notice
*/
package org.bedework.util.http;
import org.apache.http.client.methods.HttpEntityEnclosingRequestBase;
import java.net.URI;
/**
* User: mike Date: 11/8/17 Time: 13:54
*/
public class HttpMkcol extends HttpEntityEnclosingRequestBase {
public static final String METHOD_NAME = "MKCOL";
public HttpMkcol() {
}
public HttpMkcol(URI uri) {
this.setURI(uri);
}
public HttpMkcol(String uri) {
this.setURI(URI.create(uri));
}
public String getMethod() {
return METHOD_NAME;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy