org.apache.archiva.configuration
Class NetworkProxyConfiguration

java.lang.Object
  extended by org.apache.archiva.configuration.NetworkProxyConfiguration
All Implemented Interfaces:
Serializable

public class NetworkProxyConfiguration
extends Object
implements Serializable

Class NetworkProxyConfiguration.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
private  String host
          The proxy host.
private  String id
          The ID for this proxy.
private  String password
          The proxy password.
private  int port
          The proxy port.
private  String protocol
          The network protocol to use with this proxy: "http", "socks-4" .
private  boolean useNtlm
          Use ntlm authentification.
private  String username
          The proxy user.
 
Constructor Summary
NetworkProxyConfiguration()
           
 
Method Summary
 boolean equals(Object other)
           
 String getHost()
          Get the proxy host.
 String getId()
          Get the ID for this proxy.
 String getPassword()
          Get the proxy password.
 int getPort()
          Get the proxy port.
 String getProtocol()
          Get the network protocol to use with this proxy: "http", "socks-4".
 String getUsername()
          Get the proxy user.
 int hashCode()
           
 boolean isUseNtlm()
          Get use ntlm authentification.
 void setHost(String host)
          Set the proxy host.
 void setId(String id)
          Set the ID for this proxy.
 void setPassword(String password)
          Set the proxy password.
 void setPort(int port)
          Set the proxy port.
 void setProtocol(String protocol)
          Set the network protocol to use with this proxy: "http", "socks-4".
 void setUseNtlm(boolean useNtlm)
          Set use ntlm authentification.
 void setUsername(String username)
          Set the proxy user.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

private String id
The ID for this proxy.


protocol

private String protocol
The network protocol to use with this proxy: "http", "socks-4" .


host

private String host
The proxy host.


port

private int port
The proxy port.


username

private String username
The proxy user.


password

private String password
The proxy password.


useNtlm

private boolean useNtlm
Use ntlm authentification.

Constructor Detail

NetworkProxyConfiguration

public NetworkProxyConfiguration()
Method Detail

getHost

public String getHost()
Get the proxy host.

Returns:
String

getId

public String getId()
Get the ID for this proxy.

Returns:
String

getPassword

public String getPassword()
Get the proxy password.

Returns:
String

getPort

public int getPort()
Get the proxy port.

Returns:
int

getProtocol

public String getProtocol()
Get the network protocol to use with this proxy: "http", "socks-4".

Returns:
String

getUsername

public String getUsername()
Get the proxy user.

Returns:
String

isUseNtlm

public boolean isUseNtlm()
Get use ntlm authentification.

Returns:
boolean

setHost

public void setHost(String host)
Set the proxy host.

Parameters:
host -

setId

public void setId(String id)
Set the ID for this proxy.

Parameters:
id -

setPassword

public void setPassword(String password)
Set the proxy password.

Parameters:
password -

setPort

public void setPort(int port)
Set the proxy port.

Parameters:
port -

setProtocol

public void setProtocol(String protocol)
Set the network protocol to use with this proxy: "http", "socks-4".

Parameters:
protocol -

setUseNtlm

public void setUseNtlm(boolean useNtlm)
Set use ntlm authentification.

Parameters:
useNtlm -

setUsername

public void setUsername(String username)
Set the proxy user.

Parameters:
username -

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.