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="CacheControl" type="{http://cxf.apache.org/transports/http/configuration}serverCacheControlType" />
       <attribute name="ContentEncoding" 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="HonorKeepAlive" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="KeepAliveParameters" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="ReceiveTimeout" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="30000" />
       <attribute name="RedirectURL" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="ServerType" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="SuppressClientReceiveErrors" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="SuppressClientSendErrors" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  ServerCacheControlType cacheControl
           
protected  java.lang.String contentEncoding
           
protected  java.lang.String contentLocation
           
protected  java.lang.String contentType
           
protected  java.lang.Boolean honorKeepAlive
           
protected  java.lang.String keepAliveParameters
           
protected  java.lang.Long receiveTimeout
           
protected  java.lang.String redirectURL
           
protected  java.lang.String serverType
           
protected  java.lang.Boolean suppressClientReceiveErrors
           
protected  java.lang.Boolean suppressClientSendErrors
           
 
Fields inherited from class org.apache.cxf.wsdl.TExtensibilityElement
required
 
Constructor Summary
HTTPServerPolicy()
           
 
Method Summary
 ServerCacheControlType getCacheControl()
          Gets the value of the cacheControl property.
 java.lang.String getContentEncoding()
          Gets the value of the contentEncoding property.
 java.lang.String getContentLocation()
          Gets the value of the contentLocation property.
 java.lang.String getContentType()
          Gets the value of the contentType property.
 java.lang.String getKeepAliveParameters()
          Gets the value of the keepAliveParameters property.
 long getReceiveTimeout()
          Gets the value of the receiveTimeout property.
 java.lang.String getRedirectURL()
          Gets the value of the redirectURL property.
 java.lang.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 setCacheControl(ServerCacheControlType value)
          Sets the value of the cacheControl property.
 void setContentEncoding(java.lang.String value)
          Sets the value of the contentEncoding property.
 void setContentLocation(java.lang.String value)
          Sets the value of the contentLocation property.
 void setContentType(java.lang.String value)
          Sets the value of the contentType property.
 void setHonorKeepAlive(boolean value)
          Sets the value of the honorKeepAlive property.
 void setKeepAliveParameters(java.lang.String value)
          Sets the value of the keepAliveParameters property.
 void setReceiveTimeout(long value)
          Sets the value of the receiveTimeout property.
 void setRedirectURL(java.lang.String value)
          Sets the value of the redirectURL property.
 void setServerType(java.lang.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

cacheControl

protected ServerCacheControlType cacheControl

contentEncoding

protected java.lang.String contentEncoding

contentLocation

protected java.lang.String contentLocation

contentType

protected java.lang.String contentType

honorKeepAlive

protected java.lang.Boolean honorKeepAlive

keepAliveParameters

protected java.lang.String keepAliveParameters

receiveTimeout

protected java.lang.Long receiveTimeout

redirectURL

protected java.lang.String redirectURL

serverType

protected java.lang.String serverType

suppressClientReceiveErrors

protected java.lang.Boolean suppressClientReceiveErrors

suppressClientSendErrors

protected java.lang.Boolean suppressClientSendErrors
Constructor Detail

HTTPServerPolicy

public HTTPServerPolicy()
Method Detail

getCacheControl

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

Returns:
possible object is ServerCacheControlType

setCacheControl

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

Parameters:
value - allowed object is ServerCacheControlType

isSetCacheControl

public boolean isSetCacheControl()

getContentEncoding

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

Returns:
possible object is String

setContentEncoding

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

Parameters:
value - allowed object is String

isSetContentEncoding

public boolean isSetContentEncoding()

getContentLocation

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

Returns:
possible object is String

setContentLocation

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

Parameters:
value - allowed object is String

isSetContentLocation

public boolean isSetContentLocation()

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

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 java.lang.String getKeepAliveParameters()
Gets the value of the keepAliveParameters property.

Returns:
possible object is String

setKeepAliveParameters

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

Parameters:
value - allowed object is String

isSetKeepAliveParameters

public boolean isSetKeepAliveParameters()

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

getRedirectURL

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

Returns:
possible object is String

setRedirectURL

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

Parameters:
value - allowed object is String

isSetRedirectURL

public boolean isSetRedirectURL()

getServerType

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

Returns:
possible object is String

setServerType

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

Parameters:
value - allowed object is String

isSetServerType

public boolean isSetServerType()

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

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

Apache CXF API

Apache CXF