com.github.dadiyang.httpinvoker.annotation.Cookies Maven / Gradle / Ivy
package com.github.dadiyang.httpinvoker.annotation;
import java.lang.annotation.*;
/**
* Indicates the parameter is a cookies map.
*
* This annotation should only be annotated on parameter of Map<String, String> type
* @author huangxuyang
* date 2018/12/21
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.PARAMETER, ElementType.METHOD, ElementType.TYPE})
@Documented
public @interface Cookies {
String[] keys() default "";
String[] values() default "";
}