GET.java 484 字节
Newer Older
E
Eric Burke 已提交
1 2 3 4 5 6 7 8 9
package retrofit.http;

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

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
10
 * Make a GET request to a REST path relative to base URL.
E
Eric Burke 已提交
11
 *
12
 * @author Rob Dickerson
13
 * @author Patrick Forhan (patrick@squareup.com)
E
Eric Burke 已提交
14 15 16
 */
@Target({ METHOD })
@Retention(RUNTIME)
17
@HttpMethod(value = HttpMethodType.GET)
18
public @interface GET {
E
Eric Burke 已提交
19 20
  String value();
}