21 lines
480 B
Java
21 lines
480 B
Java
package org.mariotaku.simplerestapi.method;
|
|
|
|
import org.mariotaku.simplerestapi.RestMethod;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
/**
|
|
* Created by mariotaku on 15/2/7.
|
|
*/
|
|
@Target(ElementType.METHOD)
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@RestMethod(value = "GET", hasBody = false)
|
|
public @interface GET {
|
|
String METHOD = "GET";
|
|
|
|
String value();
|
|
}
|