net.java.dev.webdav.jaxrs.methods.OPTIONS 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.methods;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import javax.ws.rs.HttpMethod;
/**
* Indicates that the annotated method responds to HTTP OPTIONS requests.
*
* @author Markus KARG ([email protected])
*
* @see Chapter 9.2 "OPTIONS" of RFC 2616 "Hypertext Transfer Protocol -- HTTP/1.1"
*
* @deprecated Since 1.1. Use {@link javax.ws.rs.OPTIONS} instead. Future releases will not contain this class anymore.
*/
@Deprecated
@Target(METHOD)
@Retention(RUNTIME)
@HttpMethod("OPTIONS")
public @interface OPTIONS {
// Has no members.
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy