![JAR search and dependency download from the Maven repository](/logo.png)
fr.whimtrip.ext.jwhtscrapper.service.holder.PostField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of whimtrip-ext-scrapper Show documentation
Show all versions of whimtrip-ext-scrapper Show documentation
Fully featured highly pluggable and customizable Java scrapping framework
The newest version!
package fr.whimtrip.ext.jwhtscrapper.service.holder;
/**
* Part of project jwht-scrapper
* Created on 28/07/18
*
* Field class for POST fields to use
*
* @author Louis-wht
* @since 1.0.0
*/
public class PostField {
private final String name;
private final String value;
/**
* Default and only possible constructor.
* @param name the name of the field
* @param value its value.
*/
public PostField(String name, String value) {
this.name = name;
this.value = value;
}
/**
* @return the name of the field.
*/
public String getName() {
return name;
}
/**
* @return the value of the field.
*/
public String getValue() {
return value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy