package cz.moneta.test.harness.support.web;

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

/**
 * Obtain cookie value by its name, returns String value. String type method must be used.<br>
 * <u>Example:</u>
 *    <pre>
 *        {@literal @}GetCookie ("cookie name")
 *         String getSomeCookie();
 *    </pre>
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface GetCookie {
    /**
     * Cookie name
     */
    String value();
}
