001 /*
002 * The contents of this file are subject to the terms
003 * of the Common Development and Distribution License
004 * (the "License"). You may not use this file except
005 * in compliance with the License.
006 *
007 * You can obtain a copy of the license at
008 * http://www.opensource.org/licenses/cddl1.php
009 * See the License for the specific language governing
010 * permissions and limitations under the License.
011 */
012
013 /*
014 * GET.java
015 *
016 * Created on October 24, 2007, 5:12 PM
017 *
018 */
019
020 package javax.ws.rs;
021
022 import java.lang.annotation.ElementType;
023 import java.lang.annotation.Retention;
024 import java.lang.annotation.RetentionPolicy;
025 import java.lang.annotation.Target;
026
027 /**
028 * Indicates that the annotated method responds to HTTP GET requests
029 * @see HttpMethod
030 */
031 @Target({ElementType.METHOD})
032 @Retention(RetentionPolicy.RUNTIME)
033 @HttpMethod(HttpMethod.GET)
034 public @interface GET {
035 }