com.github.iarellano.rest_client.configuration.Proxy Maven / Gradle / Ivy
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;
}
}