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

javax.ws.rs.OPTIONS Maven / Gradle / Ivy

There is a newer version: 2.0.1
Show newest version
/*
 * The contents of this file are subject to the terms
 * of the Common Development and Distribution License
 * (the "License").  You may not use this file except
 * in compliance with the License.
 * 
 * You can obtain a copy of the license at
 * http://www.opensource.org/licenses/cddl1.php
 * See the License for the specific language governing
 * permissions and limitations under the License.
 */

/*
 * OPTIONS.java
 *
 * Created on March 10, 2009
 *
 */

package javax.ws.rs;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Indicates that the annotated method responds to HTTP OPTIONS requests
 * @see HttpMethod
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@HttpMethod(HttpMethod.OPTIONS)
public @interface OPTIONS { 
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy