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

org.osaf.caldav4j.methods.OptionsMethod Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
package org.osaf.caldav4j.methods;

import org.osaf.caldav4j.util.UrlUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Implements the OPTIONS HTTP Method.
 *
 * @see org.apache.jackrabbit.webdav.client.methods.OptionsMethod
 */
public class OptionsMethod extends org.apache.jackrabbit.webdav.client.methods.OptionsMethod {
	private static final Logger log = LoggerFactory.getLogger(OptionsMethod.class);

	/**
	 * @param uri URI to resource
	 */
	public OptionsMethod(String uri) {
		super(UrlUtils.removeDoubleSlashes(uri));
	}

	/**
	 * @see org.apache.commons.httpclient.HttpMethodBase#setPath(String)
	 */
	public void setPath(String path) {
		super.setPath(UrlUtils.removeDoubleSlashes(path));
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy