Apache CXF API

org.apache.cxf.transports.http.configuration
Class HTTPClientPolicy

java.lang.Object
  extended by org.apache.cxf.wsdl.TExtensibilityElement
      extended by org.apache.cxf.wsdl.TExtensibilityElementImpl
          extended by org.apache.cxf.transports.http.configuration.HTTPClientPolicy
All Implemented Interfaces:
javax.wsdl.extensions.ExtensibilityElement

public class HTTPClientPolicy
extends TExtensibilityElementImpl

Properties used to configure a client-side HTTP port

Java class for HTTPClientPolicy complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="HTTPClientPolicy">
   <complexContent>
     <extension base="{http://schemas.xmlsoap.org/wsdl/}tExtensibilityElement">
       <attribute name="ConnectionTimeout" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedUInt" default="30000" />
       <attribute name="ReceiveTimeout" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedUInt" default="60000" />
       <attribute name="AsyncExecuteTimeout" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedUInt" default="5000" />
       <attribute name="AsyncExecuteTimeoutRejection" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedBoolean" default="false" />
       <attribute name="AutoRedirect" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedBoolean" default="false" />
       <attribute name="MaxRetransmits" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedInt" default="-1" />
       <attribute name="AllowChunking" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedBoolean" default="true" />
       <attribute name="ChunkingThreshold" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedInt" default="4096" />
       <attribute name="Accept" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="AcceptLanguage" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="AcceptEncoding" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="ContentType" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="Host" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="Connection" type="{http://cxf.apache.org/transports/http/configuration}connectionType" default="Keep-Alive" />
       <attribute name="CacheControl" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="Cookie" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="BrowserType" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="Referer" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="DecoupledEndpoint" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="ProxyServer" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="ProxyServerPort" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedInt" />
       <attribute name="NonProxyHosts" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="ProxyServerType" type="{http://cxf.apache.org/transports/http/configuration}proxyServerType" default="HTTP" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  String accept
           
protected  String acceptEncoding
           
protected  String acceptLanguage
           
protected  Boolean allowChunking
           
protected  Long asyncExecuteTimeout
           
protected  Boolean asyncExecuteTimeoutRejection
           
protected  Boolean autoRedirect
           
protected  String browserType
           
protected  String cacheControl
           
protected  Integer chunkingThreshold
           
protected  ConnectionType connection
           
protected  Long connectionTimeout
           
protected  String contentType
           
protected  String cookie
           
protected  String decoupledEndpoint
           
protected  String host
           
protected  Integer maxRetransmits
           
protected  String nonProxyHosts
           
protected  PropertyChangeSupport propertyListener
           
protected  String proxyServer
           
protected  Integer proxyServerPort
           
protected  ProxyServerType proxyServerType
           
protected  Long receiveTimeout
           
protected  String referer
           
 
Fields inherited from class org.apache.cxf.wsdl.TExtensibilityElement
required
 
Constructor Summary
HTTPClientPolicy()
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 String getAccept()
          Gets the value of the accept property.
 String getAcceptEncoding()
          Gets the value of the acceptEncoding property.
 String getAcceptLanguage()
          Gets the value of the acceptLanguage property.
 long getAsyncExecuteTimeout()
          Gets the value of the asyncExecuteTimeout property.
 String getBrowserType()
          Gets the value of the browserType property.
 String getCacheControl()
          Gets the value of the cacheControl property.
 int getChunkingThreshold()
          Gets the value of the chunkingThreshold property.
 ConnectionType getConnection()
          Gets the value of the connection property.
 long getConnectionTimeout()
          Gets the value of the connectionTimeout property.
 String getContentType()
          Gets the value of the contentType property.
 String getCookie()
          Gets the value of the cookie property.
 String getDecoupledEndpoint()
          Gets the value of the decoupledEndpoint property.
 String getHost()
          Gets the value of the host property.
 int getMaxRetransmits()
          Gets the value of the maxRetransmits property.
 String getNonProxyHosts()
          Gets the value of the nonProxyHosts property.
 String getProxyServer()
          Gets the value of the proxyServer property.
 int getProxyServerPort()
          Gets the value of the proxyServerPort property.
 ProxyServerType getProxyServerType()
          Gets the value of the proxyServerType property.
 long getReceiveTimeout()
          Gets the value of the receiveTimeout property.
 String getReferer()
          Gets the value of the referer property.
 boolean isAllowChunking()
          Gets the value of the allowChunking property.
 boolean isAsyncExecuteTimeoutRejection()
          Gets the value of the asyncExecuteTimeoutRejection property.
 boolean isAutoRedirect()
          Gets the value of the autoRedirect property.
 boolean isSetAccept()
           
 boolean isSetAcceptEncoding()
           
 boolean isSetAcceptLanguage()
           
 boolean isSetAllowChunking()
           
 boolean isSetAsyncExecuteTimeout()
           
 boolean isSetAsyncExecuteTimeoutRejection()
           
 boolean isSetAutoRedirect()
           
 boolean isSetBrowserType()
           
 boolean isSetCacheControl()
           
 boolean isSetChunkingThreshold()
           
 boolean isSetConnection()
           
 boolean isSetConnectionTimeout()
           
 boolean isSetContentType()
           
 boolean isSetCookie()
           
 boolean isSetDecoupledEndpoint()
           
 boolean isSetHost()
           
 boolean isSetMaxRetransmits()
           
 boolean isSetNonProxyHosts()
           
 boolean isSetProxyServer()
           
 boolean isSetProxyServerPort()
           
 boolean isSetProxyServerType()
           
 boolean isSetReceiveTimeout()
           
 boolean isSetReferer()
           
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 void setAccept(String value)
          Sets the value of the accept property.
 void setAcceptEncoding(String value)
          Sets the value of the acceptEncoding property.
 void setAcceptLanguage(String value)
          Sets the value of the acceptLanguage property.
 void setAllowChunking(boolean value)
          Sets the value of the allowChunking property.
 void setAsyncExecuteTimeout(long value)
          Sets the value of the asyncExecuteTimeout property.
 void setAsyncExecuteTimeoutRejection(boolean value)
          Sets the value of the asyncExecuteTimeoutRejection property.
 void setAutoRedirect(boolean value)
          Sets the value of the autoRedirect property.
 void setBrowserType(String value)
          Sets the value of the browserType property.
 void setCacheControl(String value)
          Sets the value of the cacheControl property.
 void setChunkingThreshold(int value)
          Sets the value of the chunkingThreshold property.
 void setConnection(ConnectionType value)
          Sets the value of the connection property.
 void setConnectionTimeout(long value)
          Sets the value of the connectionTimeout property.
 void setContentType(String value)
          Sets the value of the contentType property.
 void setCookie(String value)
          Sets the value of the cookie property.
 void setDecoupledEndpoint(String value)
          Sets the value of the decoupledEndpoint property.
 void setHost(String value)
          Sets the value of the host property.
 void setMaxRetransmits(int value)
          Sets the value of the maxRetransmits property.
 void setNonProxyHosts(String value)
          Sets the value of the nonProxyHosts property.
 void setProxyServer(String value)
          Sets the value of the proxyServer property.
 void setProxyServerPort(int value)
          Sets the value of the proxyServerPort property.
 void setProxyServerType(ProxyServerType value)
          Sets the value of the proxyServerType property.
 void setReceiveTimeout(long value)
          Sets the value of the receiveTimeout property.
 void setReferer(String value)
          Sets the value of the referer property.
 void unsetAllowChunking()
           
 void unsetAsyncExecuteTimeout()
           
 void unsetAsyncExecuteTimeoutRejection()
           
 void unsetAutoRedirect()
           
 void unsetChunkingThreshold()
           
 void unsetConnectionTimeout()
           
 void unsetMaxRetransmits()
           
 void unsetProxyServerPort()
           
 void unsetReceiveTimeout()
           
 
Methods inherited from class org.apache.cxf.wsdl.TExtensibilityElementImpl
getElementType, getRequired, setElementType, setRequired
 
Methods inherited from class org.apache.cxf.wsdl.TExtensibilityElement
isRequired, isSetRequired, setRequired, unsetRequired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connectionTimeout

protected Long connectionTimeout

receiveTimeout

protected Long receiveTimeout

asyncExecuteTimeout

protected Long asyncExecuteTimeout

asyncExecuteTimeoutRejection

protected Boolean asyncExecuteTimeoutRejection

autoRedirect

protected Boolean autoRedirect

maxRetransmits

protected Integer maxRetransmits

allowChunking

protected Boolean allowChunking

chunkingThreshold

protected Integer chunkingThreshold

accept

protected String accept

acceptLanguage

protected String acceptLanguage

acceptEncoding

protected String acceptEncoding

contentType

protected String contentType

host

protected String host

connection

protected ConnectionType connection

cacheControl

protected String cacheControl

cookie

protected String cookie

browserType

protected String browserType

referer

protected String referer

decoupledEndpoint

protected String decoupledEndpoint

proxyServer

protected String proxyServer

proxyServerPort

protected Integer proxyServerPort

nonProxyHosts

protected String nonProxyHosts

proxyServerType

protected ProxyServerType proxyServerType

propertyListener

protected PropertyChangeSupport propertyListener
Constructor Detail

HTTPClientPolicy

public HTTPClientPolicy()
Method Detail

getAccept

public String getAccept()
Gets the value of the accept property.

Returns:
possible object is String

setAccept

public void setAccept(String value)
Sets the value of the accept property.

Parameters:
value - allowed object is String

isSetAccept

public boolean isSetAccept()

getAcceptLanguage

public String getAcceptLanguage()
Gets the value of the acceptLanguage property.

Returns:
possible object is String

setAcceptLanguage

public void setAcceptLanguage(String value)
Sets the value of the acceptLanguage property.

Parameters:
value - allowed object is String

isSetAcceptLanguage

public boolean isSetAcceptLanguage()

getAcceptEncoding

public String getAcceptEncoding()
Gets the value of the acceptEncoding property.

Returns:
possible object is String

setAcceptEncoding

public void setAcceptEncoding(String value)
Sets the value of the acceptEncoding property.

Parameters:
value - allowed object is String

isSetAcceptEncoding

public boolean isSetAcceptEncoding()

getContentType

public String getContentType()
Gets the value of the contentType property.

Returns:
possible object is String

setContentType

public void setContentType(String value)
Sets the value of the contentType property.

Parameters:
value - allowed object is String

isSetContentType

public boolean isSetContentType()

getHost

public String getHost()
Gets the value of the host property.

Returns:
possible object is String

setHost

public void setHost(String value)
Sets the value of the host property.

Parameters:
value - allowed object is String

isSetHost

public boolean isSetHost()

setConnection

public void setConnection(ConnectionType value)
Sets the value of the connection property.

Parameters:
value - allowed object is ConnectionType

isSetConnection

public boolean isSetConnection()

getCacheControl

public String getCacheControl()
Gets the value of the cacheControl property.

Returns:
possible object is String

setCacheControl

public void setCacheControl(String value)
Sets the value of the cacheControl property.

Parameters:
value - allowed object is String

isSetCacheControl

public boolean isSetCacheControl()

getCookie

public String getCookie()
Gets the value of the cookie property.

Returns:
possible object is String

setCookie

public void setCookie(String value)
Sets the value of the cookie property.

Parameters:
value - allowed object is String

isSetCookie

public boolean isSetCookie()

getBrowserType

public String getBrowserType()
Gets the value of the browserType property.

Returns:
possible object is String

setBrowserType

public void setBrowserType(String value)
Sets the value of the browserType property.

Parameters:
value - allowed object is String

isSetBrowserType

public boolean isSetBrowserType()

getReferer

public String getReferer()
Gets the value of the referer property.

Returns:
possible object is String

setReferer

public void setReferer(String value)
Sets the value of the referer property.

Parameters:
value - allowed object is String

isSetReferer

public boolean isSetReferer()

getDecoupledEndpoint

public String getDecoupledEndpoint()
Gets the value of the decoupledEndpoint property.

Returns:
possible object is String

setDecoupledEndpoint

public void setDecoupledEndpoint(String value)
Sets the value of the decoupledEndpoint property.

Parameters:
value - allowed object is String

isSetDecoupledEndpoint

public boolean isSetDecoupledEndpoint()

getProxyServer

public String getProxyServer()
Gets the value of the proxyServer property.

Returns:
possible object is String

setProxyServer

public void setProxyServer(String value)
Sets the value of the proxyServer property.

Parameters:
value - allowed object is String

isSetProxyServer

public boolean isSetProxyServer()

getNonProxyHosts

public String getNonProxyHosts()
Gets the value of the nonProxyHosts property.

Returns:
possible object is String

setNonProxyHosts

public void setNonProxyHosts(String value)
Sets the value of the nonProxyHosts property.

Parameters:
value - allowed object is String

isSetNonProxyHosts

public boolean isSetNonProxyHosts()

setProxyServerType

public void setProxyServerType(ProxyServerType value)
Sets the value of the proxyServerType property.

Parameters:
value - allowed object is ProxyServerType

isSetProxyServerType

public boolean isSetProxyServerType()

setConnectionTimeout

public void setConnectionTimeout(long value)
Sets the value of the connectionTimeout property.


unsetConnectionTimeout

public void unsetConnectionTimeout()

isSetConnectionTimeout

public boolean isSetConnectionTimeout()

getConnectionTimeout

public long getConnectionTimeout()
Gets the value of the connectionTimeout property.


setReceiveTimeout

public void setReceiveTimeout(long value)
Sets the value of the receiveTimeout property.


unsetReceiveTimeout

public void unsetReceiveTimeout()

isSetReceiveTimeout

public boolean isSetReceiveTimeout()

getReceiveTimeout

public long getReceiveTimeout()
Gets the value of the receiveTimeout property.


setAsyncExecuteTimeout

public void setAsyncExecuteTimeout(long value)
Sets the value of the asyncExecuteTimeout property.


unsetAsyncExecuteTimeout

public void unsetAsyncExecuteTimeout()

isSetAsyncExecuteTimeout

public boolean isSetAsyncExecuteTimeout()

getAsyncExecuteTimeout

public long getAsyncExecuteTimeout()
Gets the value of the asyncExecuteTimeout property.


setAsyncExecuteTimeoutRejection

public void setAsyncExecuteTimeoutRejection(boolean value)
Sets the value of the asyncExecuteTimeoutRejection property.


unsetAsyncExecuteTimeoutRejection

public void unsetAsyncExecuteTimeoutRejection()

isSetAsyncExecuteTimeoutRejection

public boolean isSetAsyncExecuteTimeoutRejection()

isAsyncExecuteTimeoutRejection

public boolean isAsyncExecuteTimeoutRejection()
Gets the value of the asyncExecuteTimeoutRejection property.


setAutoRedirect

public void setAutoRedirect(boolean value)
Sets the value of the autoRedirect property.


unsetAutoRedirect

public void unsetAutoRedirect()

isSetAutoRedirect

public boolean isSetAutoRedirect()

isAutoRedirect

public boolean isAutoRedirect()
Gets the value of the autoRedirect property.


setMaxRetransmits

public void setMaxRetransmits(int value)
Sets the value of the maxRetransmits property.


unsetMaxRetransmits

public void unsetMaxRetransmits()

isSetMaxRetransmits

public boolean isSetMaxRetransmits()

getMaxRetransmits

public int getMaxRetransmits()
Gets the value of the maxRetransmits property.


setAllowChunking

public void setAllowChunking(boolean value)
Sets the value of the allowChunking property.


unsetAllowChunking

public void unsetAllowChunking()

isSetAllowChunking

public boolean isSetAllowChunking()

isAllowChunking

public boolean isAllowChunking()
Gets the value of the allowChunking property.


setChunkingThreshold

public void setChunkingThreshold(int value)
Sets the value of the chunkingThreshold property.


unsetChunkingThreshold

public void unsetChunkingThreshold()

isSetChunkingThreshold

public boolean isSetChunkingThreshold()

getChunkingThreshold

public int getChunkingThreshold()
Gets the value of the chunkingThreshold property.


getConnection

public ConnectionType getConnection()
Gets the value of the connection property.


setProxyServerPort

public void setProxyServerPort(int value)
Sets the value of the proxyServerPort property.


unsetProxyServerPort

public void unsetProxyServerPort()

isSetProxyServerPort

public boolean isSetProxyServerPort()

getProxyServerPort

public int getProxyServerPort()
Gets the value of the proxyServerPort property.


getProxyServerType

public ProxyServerType getProxyServerType()
Gets the value of the proxyServerType property.


addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)

Apache CXF API

Apache CXF