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

org.bedework.util.http.HttpMkcol Maven / Gradle / Ivy

There is a newer version: 5.1.5
Show newest version
/* ********************************************************************
    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