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

net.java.dev.webdav.jaxrs.Headers Maven / Gradle / Ivy

/*
 * #%L
 * WebDAV Support for JAX-RS
 * %%
 * Copyright (C) 2008 - 2014 The java.net WebDAV Project
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, either version 3 of the 
 * License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public 
 * License along with this program.  If not, see
 * .
 * #L%
 */

package net.java.dev.webdav.jaxrs;

/**
 * WebDAV Headers
 * 
 * @author Markus KARG ([email protected])
 * 
 * @see Chapter 10 "HTTP Headers for Distributed Authoring" of RFC
 *      4918 "HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)"
 */
public interface Headers {

	/**
	 * WebDAV DAV Header
	 * 
	 * @see Chapter 10.1 "DAV Header" of RFC 4918
	 *      "HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)"
	 */
	public static final String DAV = "DAV";

	/**
	 * WebDAV Depth Header
	 * 
	 * @see Chapter 10.2 "Depth Header" of RFC 4918
	 *      "HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)"
	 */
	public static final String DEPTH = "Depth";

	/**
	 * WebDAV Depth Header Value "0"
	 * 
	 * @see Chapter 10.2 "Depth Header" of RFC 4918
	 *      "HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)"
	 */
	public static final String DEPTH_0 = "0";

	/**
	 * WebDAV Depth Header Value "1"
	 * 
	 * @see Chapter 10.2 "Depth Header" of RFC 4918
	 *      "HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)"
	 */
	public static final String DEPTH_1 = "1";

	/**
	 * WebDAV Depth Header Value "infinity"
	 * 
	 * @see Chapter 10.2 "Depth Header" of RFC 4918
	 *      "HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)"
	 */
	public static final String DEPTH_INFINITY = "infinity";

	/**
	 * WebDAV Destination Header
	 * 
	 * @see Chapter 10.3 "Destination Header" of RFC 4918
	 *      "HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)"
	 */
	public static final String DESTINATION = "Destination";

	/**
	 * WebDAV If Header
	 * 
	 * @see Chapter 10.4 "If Header" of RFC 4918
	 *      "HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)"
	 */
	public static final String IF = "If";

	/**
	 * WebDAV Lock-Token Header
	 * 
	 * @see Chapter 10.5 "Lock-Token Header" of RFC 4918
	 *      "HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)"
	 */
	public static final String LOCK_TOKEN = "Lock-Token";

	/**
	 * WebDAV Overwrite Header
	 * 
	 * @see Chapter 10.6 "Overwrite Header" of RFC 4918
	 *      "HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)"
	 */
	public static final String OVERWRITE = "Overwrite";

	/**
	 * WebDAV Overwrite Header Value "T"
	 * 
	 * @see Chapter 10.6 "Overwrite Header" of RFC 4918
	 *      "HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)"
	 */
	public static final String OVERWRITE_TRUE = "T";

	/**
	 * WebDAV Overwrite Header Value "F"
	 * 
	 * @see Chapter 10.6 "Overwrite Header" of RFC 4918
	 *      "HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)"
	 */
	public static final String OVERWRITE_FALSE = "F";

	/**
	 * WebDAV Timeout Header
	 * 
	 * @see Chapter 10.7 "Timeout Request Header" of RFC 4918
	 *      "HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)"
	 */
	public static final String TIMEOUT = "Timeout";

	/**
	 * WebDAV Timeout Header Value "Second-"
	 * 
	 * @see Chapter 10.7 "Timeout Request Header" of RFC 4918
	 *      "HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)"
	 */
	public static final String TIMEOUT_SECOND = "Second-";

	/**
	 * WebDAV Timeout Header Value "Infinite"
	 * 
	 * @see Chapter 10.7 "Timeout Request Header" of RFC 4918
	 *      "HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)"
	 */
	public static final String TIMEOUT_INFINITE = "Infinite";

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy