com.mindtree.techworks.insight.download
Class ProxyInfo.ProtocolProxyInfo

java.lang.Object
  extended by com.mindtree.techworks.insight.download.ProxyInfo.ProtocolProxyInfo
Enclosing class:
ProxyInfo

public class ProxyInfo.ProtocolProxyInfo
extends java.lang.Object

Contains information about a particular proxy host for a protocol.

Version:
$Revision: 27 $ $Date: 2007-12-16 04:58:03 -0700 (Sun, 16 Dec 2007) $
Author:
Bindul Bhowmik

Constructor Summary
ProxyInfo.ProtocolProxyInfo(java.lang.String host, int port)
          Creates a ProtocolProxyInfo class
 
Method Summary
 java.lang.String getHost()
           
 int getPort()
           
 boolean isSet()
          Checks if the proxy information is set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyInfo.ProtocolProxyInfo

public ProxyInfo.ProtocolProxyInfo(java.lang.String host,
                                   int port)
Creates a ProtocolProxyInfo class

Parameters:
host - The host to set
port - The port to set
Method Detail

getHost

public java.lang.String getHost()
Returns:
Returns the host.

getPort

public int getPort()
Returns:
Returns the port.

isSet

public boolean isSet()
Checks if the proxy information is set.

Returns:
If the proxy host is set.


Copyright © 2003-2008 MindTree Consulting Ltd.. All Rights Reserved.