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

com.epam.http.annotations.Method Maven / Gradle / Ivy

package com.epam.http.annotations;

import com.epam.http.requests.RestMethodTypes;

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

import static com.epam.http.requests.RestMethodTypes.DELETE;
import static com.epam.http.requests.RestMethodTypes.GET;
import static com.epam.http.requests.RestMethodTypes.POST;
import static com.epam.http.requests.RestMethodTypes.PUT;

/**
 * Created by Roman_Iovlev on 12/19/2016.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.FIELD})
public @interface Method {
    String value();
    RestMethodTypes[] types() default { GET, POST, PUT, DELETE };
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy