![JAR search and dependency download from the Maven repository](/logo.png)
com.github.iarellano.rest_client.configuration.CookieConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iad-rest-client-maven-plugin Show documentation
Show all versions of iad-rest-client-maven-plugin Show documentation
At times we need to consume external services as part of a build process, for example
to verify which version of an API is deployed, verify that a service is online, get
configurations from some remote storage provider, etc.
This plugin is aimed to provide a way to make HTTP request either to get resources,
upload files, submit forms, post json, post xml, etc.
package com.github.iarellano.rest_client.configuration;
import java.io.File;
import java.net.CookiePolicy;
import java.util.ArrayList;
import java.util.List;
public class CookieConfig {
private CookiePolicy cookiePolicy = CookiePolicy.ACCEPT_ORIGINAL_SERVER;
private File cookieJar;
private boolean removeAll = false;
private List accept = new ArrayList<>();
public CookiePolicy getCookiePolicy() {
return cookiePolicy;
}
public void setCookiePolicy(CookiePolicy cookiePolicy) {
this.cookiePolicy = cookiePolicy;
}
public File getCookieJar() {
return cookieJar;
}
public void setCookieJar(File cookieJar) {
this.cookieJar = cookieJar;
}
public boolean isRemoveAll() {
return removeAll;
}
public void setRemoveAll(boolean removeAll) {
this.removeAll = removeAll;
}
public List getAccept() {
return accept;
}
public void setAccept(List accept) {
this.accept = accept;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy