|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.wsdl.TExtensibilityElement
org.apache.cxf.wsdl.TExtensibilityElementImpl
org.apache.cxf.transports.http.configuration.HTTPClientPolicy
public class HTTPClientPolicy
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="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://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://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 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.util.regex.Pattern |
nonProxyHosts
|
protected java.beans.PropertyChangeSupport |
propertyListener
|
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 | |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
|
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.util.regex.Pattern |
getNonProxyHosts()
Gets the value of the nonProxyHosts 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 |
isSetNonProxyHosts()
|
boolean |
isSetProxyServer()
|
boolean |
isSetProxyServerPort()
|
boolean |
isSetProxyServerType()
|
boolean |
isSetReceiveTimeout()
|
boolean |
isSetReferer()
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
|
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 |
setNonProxyHosts(java.util.regex.Pattern value)
Sets the value of the nonProxyHosts 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 |
unsetCacheControl()
|
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 |
|---|
protected java.lang.Long connectionTimeout
protected java.lang.Long receiveTimeout
protected java.lang.Boolean autoRedirect
protected java.lang.Integer maxRetransmits
protected java.lang.Boolean allowChunking
protected java.lang.Integer chunkingThreshold
protected java.lang.String accept
protected java.lang.String acceptLanguage
protected java.lang.String acceptEncoding
protected java.lang.String contentType
protected java.lang.String host
protected ConnectionType connection
protected ClientCacheControlType cacheControl
protected java.lang.String cookie
protected java.lang.String browserType
protected java.lang.String referer
protected java.lang.String decoupledEndpoint
protected java.lang.String proxyServer
protected java.lang.Integer proxyServerPort
protected java.util.regex.Pattern nonProxyHosts
protected ProxyServerType proxyServerType
protected java.beans.PropertyChangeSupport propertyListener
| Constructor Detail |
|---|
public HTTPClientPolicy()
| Method Detail |
|---|
public java.lang.String getAccept()
Stringpublic void setAccept(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetAccept()
public java.lang.String getAcceptLanguage()
Stringpublic void setAcceptLanguage(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetAcceptLanguage()
public java.lang.String getAcceptEncoding()
Stringpublic void setAcceptEncoding(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetAcceptEncoding()
public java.lang.String getContentType()
Stringpublic void setContentType(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetContentType()
public java.lang.String getHost()
Stringpublic void setHost(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetHost()
public void setConnection(ConnectionType value)
value - allowed object is
ConnectionTypepublic boolean isSetConnection()
public java.lang.String getCookie()
Stringpublic void setCookie(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetCookie()
public java.lang.String getBrowserType()
Stringpublic void setBrowserType(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetBrowserType()
public java.lang.String getReferer()
Stringpublic void setReferer(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetReferer()
public java.lang.String getDecoupledEndpoint()
Stringpublic void setDecoupledEndpoint(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetDecoupledEndpoint()
public java.lang.String getProxyServer()
Stringpublic void setProxyServer(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetProxyServer()
public java.util.regex.Pattern getNonProxyHosts()
Stringpublic void setNonProxyHosts(java.util.regex.Pattern value)
value - allowed object is
Stringpublic boolean isSetNonProxyHosts()
public void setProxyServerType(ProxyServerType value)
value - allowed object is
ProxyServerTypepublic boolean isSetProxyServerType()
public void setConnectionTimeout(long value)
public void unsetConnectionTimeout()
public boolean isSetConnectionTimeout()
public long getConnectionTimeout()
public void setReceiveTimeout(long value)
public void unsetReceiveTimeout()
public boolean isSetReceiveTimeout()
public long getReceiveTimeout()
public void setAutoRedirect(boolean value)
public void unsetAutoRedirect()
public boolean isSetAutoRedirect()
public boolean isAutoRedirect()
public void setMaxRetransmits(int value)
public void unsetMaxRetransmits()
public boolean isSetMaxRetransmits()
public int getMaxRetransmits()
public void setAllowChunking(boolean value)
public void unsetAllowChunking()
public boolean isSetAllowChunking()
public boolean isAllowChunking()
public void setChunkingThreshold(int value)
public void unsetChunkingThreshold()
public boolean isSetChunkingThreshold()
public int getChunkingThreshold()
public ConnectionType getConnection()
public void setCacheControl(ClientCacheControlType value)
public void unsetCacheControl()
public boolean isSetCacheControl()
public ClientCacheControlType getCacheControl()
public void setProxyServerPort(int value)
public void unsetProxyServerPort()
public boolean isSetProxyServerPort()
public int getProxyServerPort()
public ProxyServerType getProxyServerType()
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||