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

fr.whimtrip.ext.jwhtscrapper.annotation.Header 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 thought to be applied in {@link RequestsConfig#defaultHeaders()}. * It's a simple HTTP header annotation based representation. *

* @see Link * @see LinkObject * @author Louis-wht * @since 1.0.0 */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.FIELD }) public @interface Header { /** * @return the name of the HTTP header represented. */ String name(); /** * @return the value of the HTTP header represented. */ String value(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy