
com.github.iarellano.rest_client.configuration.Proxy 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.
The newest version!
package com.github.iarellano.rest_client.configuration;
import java.net.Proxy.Type;
public class Proxy {
private String host;
private Integer port;
private String username;
private String password;
private Type type = Type.HTTP;
public String getHost() {
return host;
}
public void setHost(String host) {
this.host = host;
}
public Integer getPort() {
return port;
}
public void setPort(Integer port) {
this.port = port;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public Type getType() {
return type;
}
public void setType(Type type) {
this.type = type;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy