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://www.w3.org/2001/XMLSchema}unsignedInt" default="30000" />
       <attribute name="ReceiveTimeout" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="60000" />
       <attribute name="AutoRedirect" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="MaxRetransmits" type="{http://www.w3.org/2001/XMLSchema}int" default="-1" />
       <attribute name="AllowChunking" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="ChunkingThreshold" type="{http://www.w3.org/2001/XMLSchema}int" 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://cxf.apache.org/transports/http/configuration}clientCacheControlType" />
       <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://www.w3.org/2001/XMLSchema}int" />
       <attribute name="ProxyServerType" type="{http://cxf.apache.org/transports/http/configuration}proxyServerType" default="HTTP" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String accept
           
protected  java.lang.String acceptEncoding
           
protected  java.lang.String acceptLanguage
           
protected  java.lang.Boolean allowChunking
           
protected  java.lang.Boolean autoRedirect
           
protected  java.lang.String browserType
           
protected  ClientCacheControlType cacheControl
           
protected  java.lang.Integer chunkingThreshold
           
protected  ConnectionType connection
           
protected  java.lang.Long connectionTimeout
           
protected  java.lang.String contentType
           
protected  java.lang.String cookie
           
protected  java.lang.String decoupledEndpoint
           
protected  java.lang.String host
           
protected  java.lang.Integer maxRetransmits
           
protected  java.lang.String proxyServer
           
protected  java.lang.Integer proxyServerPort
           
protected  ProxyServerType proxyServerType
           
protected  java.lang.Long receiveTimeout
           
protected  java.lang.String referer
           
 
Fields inherited from class org.apache.cxf.wsdl.TExtensibilityElement
required
 
Constructor Summary
HTTPClientPolicy()
           
 
Method Summary
 java.lang.String getAccept()
          Gets the value of the accept property.
 java.lang.String getAcceptEncoding()
          Gets the value of the acceptEncoding property.
 java.lang.String getAcceptLanguage()
          Gets the value of the acceptLanguage property.
 java.lang.String getBrowserType()
          Gets the value of the browserType property.
 ClientCacheControlType 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.
 java.lang.String getContentType()
          Gets the value of the contentType property.
 java.lang.String getCookie()
          Gets the value of the cookie property.
 java.lang.String getDecoupledEndpoint()
          Gets the value of the decoupledEndpoint property.
 java.lang.String getHost()
          Gets the value of the host property.
 int getMaxRetransmits()
          Gets the value of the maxRetransmits property.
 java.lang.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.
 java.lang.String getReferer()
          Gets the value of the referer property.
 boolean isAllowChunking()
          Gets the value of the allowChunking property.
 boolean isAutoRedirect()
          Gets the value of the autoRedirect property.
 boolean isSetAccept()
           
 boolean isSetAcceptEncoding()
           
 boolean isSetAcceptLanguage()
           
 boolean isSetAllowChunking()
           
 boolean isSetAutoRedirect()
           
 boolean isSetBrowserType()
           
 boolean isSetCacheControl()
           
 boolean isSetChunkingThreshold()
           
 boolean isSetConnection()
           
 boolean isSetConnectionTimeout()
           
 boolean isSetContentType()
           
 boolean isSetCookie()
           
 boolean isSetDecoupledEndpoint()
           
 boolean isSetHost()
           
 boolean isSetMaxRetransmits()
           
 boolean isSetProxyServer()
           
 boolean isSetProxyServerPort()
           
 boolean isSetProxyServerType()
           
 boolean isSetReceiveTimeout()
           
 boolean isSetReferer()
           
 void setAccept(java.lang.String value)
          Sets the value of the accept property.
 void setAcceptEncoding(java.lang.String value)
          Sets the value of the acceptEncoding property.
 void setAcceptLanguage(java.lang.String value)
          Sets the value of the acceptLanguage property.
 void setAllowChunking(boolean value)
          Sets the value of the allowChunking property.
 void setAutoRedirect(boolean value)
          Sets the value of the autoRedirect property.
 void setBrowserType(java.lang.String value)
          Sets the value of the browserType property.
 void setCacheControl(ClientCacheControlType 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(java.lang.String value)
          Sets the value of the contentType property.
 void setCookie(java.lang.String value)
          Sets the value of the cookie property.
 void setDecoupledEndpoint(java.lang.String value)
          Sets the value of the decoupledEndpoint property.
 void setHost(java.lang.String value)
          Sets the value of the host property.
 void setMaxRetransmits(int value)
          Sets the value of the maxRetransmits property.
 void setProxyServer(java.lang.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(java.lang.String value)
          Sets the value of the referer property.
 void unsetAllowChunking()
           
 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 java.lang.Long connectionTimeout

receiveTimeout

protected java.lang.Long receiveTimeout

autoRedirect

protected java.lang.Boolean autoRedirect

maxRetransmits

protected java.lang.Integer maxRetransmits

allowChunking

protected java.lang.Boolean allowChunking

chunkingThreshold

protected java.lang.Integer chunkingThreshold

accept

protected java.lang.String accept

acceptLanguage

protected java.lang.String acceptLanguage

acceptEncoding

protected java.lang.String acceptEncoding

contentType

protected java.lang.String contentType

host

protected java.lang.String host

connection

protected ConnectionType connection

cacheControl

protected ClientCacheControlType cacheControl

cookie

protected java.lang.String cookie

browserType

protected java.lang.String browserType

referer

protected java.lang.String referer

decoupledEndpoint

protected java.lang.String decoupledEndpoint

proxyServer

protected java.lang.String proxyServer

proxyServerPort

protected java.lang.Integer proxyServerPort

proxyServerType

protected ProxyServerType proxyServerType
Constructor Detail

HTTPClientPolicy

public HTTPClientPolicy()
Method Detail

getConnectionTimeout

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

Returns:
possible object is Long

setConnectionTimeout

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

Parameters:
value - allowed object is Long

isSetConnectionTimeout

public boolean isSetConnectionTimeout()

unsetConnectionTimeout

public void unsetConnectionTimeout()

getReceiveTimeout

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

Returns:
possible object is Long

setReceiveTimeout

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

Parameters:
value - allowed object is Long

isSetReceiveTimeout

public boolean isSetReceiveTimeout()

unsetReceiveTimeout

public void unsetReceiveTimeout()

isAutoRedirect

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

Returns:
possible object is Boolean

setAutoRedirect

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

Parameters:
value - allowed object is Boolean

isSetAutoRedirect

public boolean isSetAutoRedirect()

unsetAutoRedirect

public void unsetAutoRedirect()

getMaxRetransmits

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

Returns:
possible object is Integer

setMaxRetransmits

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

Parameters:
value - allowed object is Integer

isSetMaxRetransmits

public boolean isSetMaxRetransmits()

unsetMaxRetransmits

public void unsetMaxRetransmits()

isAllowChunking

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

Returns:
possible object is Boolean

setAllowChunking

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

Parameters:
value - allowed object is Boolean

isSetAllowChunking

public boolean isSetAllowChunking()

unsetAllowChunking

public void unsetAllowChunking()

getChunkingThreshold

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

Returns:
possible object is Integer

setChunkingThreshold

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

Parameters:
value - allowed object is Integer

isSetChunkingThreshold

public boolean isSetChunkingThreshold()

unsetChunkingThreshold

public void unsetChunkingThreshold()

getAccept

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

Returns:
possible object is String

setAccept

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

Parameters:
value - allowed object is String

isSetAccept

public boolean isSetAccept()

getAcceptLanguage

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

Returns:
possible object is String

setAcceptLanguage

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

Parameters:
value - allowed object is String

isSetAcceptLanguage

public boolean isSetAcceptLanguage()

getAcceptEncoding

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

Returns:
possible object is String

setAcceptEncoding

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

Parameters:
value - allowed object is String

isSetAcceptEncoding

public boolean isSetAcceptEncoding()

getContentType

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

Returns:
possible object is String

setContentType

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

Parameters:
value - allowed object is String

isSetContentType

public boolean isSetContentType()

getHost

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

Returns:
possible object is String

setHost

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

Parameters:
value - allowed object is String

isSetHost

public boolean isSetHost()

getConnection

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

Returns:
possible object is ConnectionType

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 ClientCacheControlType getCacheControl()
Gets the value of the cacheControl property.

Returns:
possible object is ClientCacheControlType

setCacheControl

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

Parameters:
value - allowed object is ClientCacheControlType

isSetCacheControl

public boolean isSetCacheControl()

getCookie

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

Returns:
possible object is String

setCookie

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

Parameters:
value - allowed object is String

isSetCookie

public boolean isSetCookie()

getBrowserType

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

Returns:
possible object is String

setBrowserType

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

Parameters:
value - allowed object is String

isSetBrowserType

public boolean isSetBrowserType()

getReferer

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

Returns:
possible object is String

setReferer

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

Parameters:
value - allowed object is String

isSetReferer

public boolean isSetReferer()

getDecoupledEndpoint

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

Returns:
possible object is String

setDecoupledEndpoint

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

Parameters:
value - allowed object is String

isSetDecoupledEndpoint

public boolean isSetDecoupledEndpoint()

getProxyServer

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

Returns:
possible object is String

setProxyServer

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

Parameters:
value - allowed object is String

isSetProxyServer

public boolean isSetProxyServer()

getProxyServerPort

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

Returns:
possible object is Integer

setProxyServerPort

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

Parameters:
value - allowed object is Integer

isSetProxyServerPort

public boolean isSetProxyServerPort()

unsetProxyServerPort

public void unsetProxyServerPort()

getProxyServerType

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

Returns:
possible object is ProxyServerType

setProxyServerType

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

Parameters:
value - allowed object is ProxyServerType

isSetProxyServerType

public boolean isSetProxyServerType()

Apache CXF API

Apache CXF