groovyx.net.ws.cxf
Class ProxyHelper

java.lang.Object
  extended by groovyx.net.ws.cxf.AbstractSettingHelper
      extended by groovyx.net.ws.cxf.ProxyHelper

public class ProxyHelper
extends AbstractSettingHelper

Helper class to configure the proxy settings.

Since:
0.5
Author:
Dennis Bayer, Tog
See Also:
SettingConstants.HTTP_PROXY_HOST, SettingConstants.HTTP_PROXY_PORT, SettingConstants.HTTP_PROXY_USER, SettingConstants.HTTP_PROXY_PASSWORD

Field Summary
 
Fields inherited from class groovyx.net.ws.cxf.AbstractSettingHelper
properties
 
Constructor Summary
ProxyHelper()
           
 
Method Summary
protected  void configureClientParameters(org.apache.cxf.endpoint.Client client)
          Sets the user and the password for the proxy authorization.
protected  void setDefaultProperties()
          Reads the system properties and puts the value of SettingConstants.HTTP_PROXY_HOST, SettingConstants.HTTP_PROXY_PORT, SettingConstants.HTTP_PROXY_USER and SettingConstants.HTTP_PROXY_PASSWORD into the property-map.
 
Methods inherited from class groovyx.net.ws.cxf.AbstractSettingHelper
enable, initialize, isConfigured, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyHelper

public ProxyHelper()
Method Detail

setDefaultProperties

protected void setDefaultProperties()
Reads the system properties and puts the value of SettingConstants.HTTP_PROXY_HOST, SettingConstants.HTTP_PROXY_PORT, SettingConstants.HTTP_PROXY_USER and SettingConstants.HTTP_PROXY_PASSWORD into the property-map.

Specified by:
setDefaultProperties in class AbstractSettingHelper

configureClientParameters

protected void configureClientParameters(org.apache.cxf.endpoint.Client client)
Sets the user and the password for the proxy authorization.

Specified by:
configureClientParameters in class AbstractSettingHelper
Parameters:
client - The CXF client to configure