deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.enterprise
Class Proxy

java.lang.Object
  extended by org.deegree.enterprise.Proxy

public class Proxy
extends java.lang.Object

encapsulates proxy informations and offers a method for setting and unsetting the proxy

Version:
$Revision: 18195 $
Author:
Andreas Poth

Constructor Summary
Proxy(java.lang.String proxyHost, java.lang.String proxyPort)
          Creates a new instance of Proxy_Impl
 
Method Summary
 java.lang.String getProxyHost()
          retuns the proxy host definition
 java.lang.String getProxyPort()
          returns the proxy port definition
 void setProxy(boolean proxySet)
          sets or unsets the proxy by writing the proxyHost and the proxyPort to the system properties.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Proxy

public Proxy(java.lang.String proxyHost,
             java.lang.String proxyPort)
Creates a new instance of Proxy_Impl

Parameters:
proxyHost -
proxyPort -
Method Detail

getProxyHost

public java.lang.String getProxyHost()
retuns the proxy host definition

Returns:
the proxy host definition

getProxyPort

public java.lang.String getProxyPort()
returns the proxy port definition

Returns:
the proxy port definition

setProxy

public void setProxy(boolean proxySet)
sets or unsets the proxy by writing the proxyHost and the proxyPort to the system properties.

Parameters:
proxySet -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org