com.mercadopago.core.annotations.rest.GET Maven / Gradle / Ivy
package com.mercadopago.core.annotations.rest;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Mercado Pago SDK
* Rest Information annotation interface for GET
* connection and socket timeouts are expressed in milliseconds
*
* Created by Eduardo Paoletta on 11/4/16.
*/
@Inherited
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface GET {
String path();
int retries() default 0;
int connectionTimeout() default 0;
int connectionRequestTimeout() default 0;
int socketTimeout() default 0;
}