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

fr.whimtrip.ext.jwhtscrapper.annotation.Cookie Maven / Gradle / Ivy

The newest version!
/*
 * This code is licensed to WhimTrip©. For any question, please contact the author of the file.
 */

/*
 * This code is licensed to WhimTrip©. For any question, please contact the author of the file.
 */

package fr.whimtrip.ext.jwhtscrapper.annotation;

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



/**
 * 

Part of project jwht-scrapper

*

Created on 29/07/18

* *

* This annotation is used {@link RequestsConfig#defaultCookies()} here}. * It represents a standard HTTP cookie. *

* * @see Link * @see LinkObject * @author Louis-wht * @since 1.0.0 */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.FIELD }) public @interface Cookie { /** * @return the cookie name. */ String name(); /** * @return the cookie value. */ String value(); /** * @return the cookie domain. */ String domain(); /** * @return the cookie path. */ String path() default "/"; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy