Apache CXF API

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

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.HTTPServerPolicy
All Implemented Interfaces:
javax.wsdl.extensions.ExtensibilityElement

public class HTTPServerPolicy
extends TExtensibilityElementImpl

Properties used for configuring a server-side HTTP prort

Java class for HTTPServerPolicy complex type.

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

 <complexType name="HTTPServerPolicy">
   <complexContent>
     <extension base="{http://schemas.xmlsoap.org/wsdl/}tExtensibilityElement">
       <attribute name="ReceiveTimeout" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="30000" />
       <attribute name="SuppressClientSendErrors" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="SuppressClientReceiveErrors" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="HonorKeepAlive" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="KeepAliveParameters" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="RedirectURL" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="CacheControl" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="ContentLocation" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="ContentType" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="ContentEncoding" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="ServerType" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  String cacheControl
           
protected  String contentEncoding
           
protected  String contentLocation
           
protected  String contentType
           
protected  Boolean honorKeepAlive
           
protected  String keepAliveParameters
           
protected  PropertyChangeSupport propertyListener
           
protected  Long receiveTimeout
           
protected  String redirectURL
           
protected  String serverType
           
protected  Boolean suppressClientReceiveErrors
           
protected  Boolean suppressClientSendErrors
           
 
Fields inherited from class org.apache.cxf.wsdl.TExtensibilityElement
required
 
Constructor Summary
HTTPServerPolicy()
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 String getCacheControl()
          Gets the value of the cacheControl property.
 String getContentEncoding()
          Gets the value of the contentEncoding property.
 String getContentLocation()
          Gets the value of the contentLocation property.
 String getContentType()
          Gets the value of the contentType property.
 String getKeepAliveParameters()
          Gets the value of the keepAliveParameters property.
 long getReceiveTimeout()
          Gets the value of the receiveTimeout property.
 String getRedirectURL()
          Gets the value of the redirectURL property.
 String getServerType()
          Gets the value of the serverType property.
 boolean isHonorKeepAlive()
          Gets the value of the honorKeepAlive property.
 boolean isSetCacheControl()
           
 boolean isSetContentEncoding()
           
 boolean isSetContentLocation()
           
 boolean isSetContentType()
           
 boolean isSetHonorKeepAlive()
           
 boolean isSetKeepAliveParameters()
           
 boolean isSetReceiveTimeout()
           
 boolean isSetRedirectURL()
           
 boolean isSetServerType()
           
 boolean isSetSuppressClientReceiveErrors()
           
 boolean isSetSuppressClientSendErrors()
           
 boolean isSuppressClientReceiveErrors()
          Gets the value of the suppressClientReceiveErrors property.
 boolean isSuppressClientSendErrors()
          Gets the value of the suppressClientSendErrors property.
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 void setCacheControl(String value)
          Sets the value of the cacheControl property.
 void setContentEncoding(String value)
          Sets the value of the contentEncoding property.
 void setContentLocation(String value)
          Sets the value of the contentLocation property.
 void setContentType(String value)
          Sets the value of the contentType property.
 void setHonorKeepAlive(boolean value)
          Sets the value of the honorKeepAlive property.
 void setKeepAliveParameters(String value)
          Sets the value of the keepAliveParameters property.
 void setReceiveTimeout(long value)
          Sets the value of the receiveTimeout property.
 void setRedirectURL(String value)
          Sets the value of the redirectURL property.
 void setServerType(String value)
          Sets the value of the serverType property.
 void setSuppressClientReceiveErrors(boolean value)
          Sets the value of the suppressClientReceiveErrors property.
 void setSuppressClientSendErrors(boolean value)
          Sets the value of the suppressClientSendErrors property.
 void unsetHonorKeepAlive()
           
 void unsetReceiveTimeout()
           
 void unsetSuppressClientReceiveErrors()
           
 void unsetSuppressClientSendErrors()
           
 
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

receiveTimeout

protected Long receiveTimeout

suppressClientSendErrors

protected Boolean suppressClientSendErrors

suppressClientReceiveErrors

protected Boolean suppressClientReceiveErrors

honorKeepAlive

protected Boolean honorKeepAlive

keepAliveParameters

protected String keepAliveParameters

redirectURL

protected String redirectURL

cacheControl

protected String cacheControl

contentLocation

protected String contentLocation

contentType

protected String contentType

contentEncoding

protected String contentEncoding

serverType

protected String serverType

propertyListener

protected PropertyChangeSupport propertyListener
Constructor Detail

HTTPServerPolicy

public HTTPServerPolicy()
Method Detail

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()

isSuppressClientSendErrors

public boolean isSuppressClientSendErrors()
Gets the value of the suppressClientSendErrors property.

Returns:
possible object is Boolean

setSuppressClientSendErrors

public void setSuppressClientSendErrors(boolean value)
Sets the value of the suppressClientSendErrors property.

Parameters:
value - allowed object is Boolean

isSetSuppressClientSendErrors

public boolean isSetSuppressClientSendErrors()

unsetSuppressClientSendErrors

public void unsetSuppressClientSendErrors()

isSuppressClientReceiveErrors

public boolean isSuppressClientReceiveErrors()
Gets the value of the suppressClientReceiveErrors property.

Returns:
possible object is Boolean

setSuppressClientReceiveErrors

public void setSuppressClientReceiveErrors(boolean value)
Sets the value of the suppressClientReceiveErrors property.

Parameters:
value - allowed object is Boolean

isSetSuppressClientReceiveErrors

public boolean isSetSuppressClientReceiveErrors()

unsetSuppressClientReceiveErrors

public void unsetSuppressClientReceiveErrors()

isHonorKeepAlive

public boolean isHonorKeepAlive()
Gets the value of the honorKeepAlive property.

Returns:
possible object is Boolean

setHonorKeepAlive

public void setHonorKeepAlive(boolean value)
Sets the value of the honorKeepAlive property.

Parameters:
value - allowed object is Boolean

isSetHonorKeepAlive

public boolean isSetHonorKeepAlive()

unsetHonorKeepAlive

public void unsetHonorKeepAlive()

getKeepAliveParameters

public String getKeepAliveParameters()
Gets the value of the keepAliveParameters property.

Returns:
possible object is String

setKeepAliveParameters

public void setKeepAliveParameters(String value)
Sets the value of the keepAliveParameters property.

Parameters:
value - allowed object is String

isSetKeepAliveParameters

public boolean isSetKeepAliveParameters()

getRedirectURL

public String getRedirectURL()
Gets the value of the redirectURL property.

Returns:
possible object is String

setRedirectURL

public void setRedirectURL(String value)
Sets the value of the redirectURL property.

Parameters:
value - allowed object is String

isSetRedirectURL

public boolean isSetRedirectURL()

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()

getContentLocation

public String getContentLocation()
Gets the value of the contentLocation property.

Returns:
possible object is String

setContentLocation

public void setContentLocation(String value)
Sets the value of the contentLocation property.

Parameters:
value - allowed object is String

isSetContentLocation

public boolean isSetContentLocation()

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()

getContentEncoding

public String getContentEncoding()
Gets the value of the contentEncoding property.

Returns:
possible object is String

setContentEncoding

public void setContentEncoding(String value)
Sets the value of the contentEncoding property.

Parameters:
value - allowed object is String

isSetContentEncoding

public boolean isSetContentEncoding()

getServerType

public String getServerType()
Gets the value of the serverType property.

Returns:
possible object is String

setServerType

public void setServerType(String value)
Sets the value of the serverType property.

Parameters:
value - allowed object is String

isSetServerType

public boolean isSetServerType()

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)

Apache CXF API

Apache CXF