org.apache.avalon.repository.impl
Class ProxyContext

java.lang.Object
  extended byorg.apache.avalon.repository.impl.ProxyContext

public final class ProxyContext
extends Object

A proxy context.

Version:
$Revision: 1.1.1.1 $ $Date: 2003/12/04 19:34:33 $
Author:
Avalon Development Team

Constructor Summary
ProxyContext(String host, int port, Authenticator authenticator)
          Creation of a new proxy context.
 
Method Summary
 Authenticator getAuthenticator()
          Returns the proxy authenticator.
 String getHost()
          Returns the proxy host name.
 String getPort()
          Returns the proxy port number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyContext

public ProxyContext(String host,
                    int port,
                    Authenticator authenticator)
Creation of a new proxy context.

Parameters:
host - the host name
port - the port
authenticator - the authenticator
Method Detail

getAuthenticator

public Authenticator getAuthenticator()
Returns the proxy authenticator.

Returns:
the authenticator

getHost

public String getHost()
Returns the proxy host name.

Returns:
the host name

getPort

public String getPort()
Returns the proxy port number.

Returns:
the port


Copyright © Apache Software Foundation. All Rights Reserved.