org.apache.cxf.transports.http.configuration.HTTPServerPolicy Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2009.05.22 at 12:16:54 PM EDT
//
package org.apache.cxf.transports.http.configuration;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import org.apache.cxf.wsdl.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://cxf.apache.org/transports/http/configuration}serverCacheControlType" />
* <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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HTTPServerPolicy")
public class HTTPServerPolicy
extends TExtensibilityElementImpl
{
@XmlAttribute(name = "ReceiveTimeout")
@XmlSchemaType(name = "unsignedInt")
protected Long receiveTimeout;
@XmlAttribute(name = "SuppressClientSendErrors")
protected Boolean suppressClientSendErrors;
@XmlAttribute(name = "SuppressClientReceiveErrors")
protected Boolean suppressClientReceiveErrors;
@XmlAttribute(name = "HonorKeepAlive")
protected Boolean honorKeepAlive;
@XmlAttribute(name = "KeepAliveParameters")
protected String keepAliveParameters;
@XmlAttribute(name = "RedirectURL")
protected String redirectURL;
@XmlAttribute(name = "CacheControl")
protected ServerCacheControlType cacheControl;
@XmlAttribute(name = "ContentLocation")
protected String contentLocation;
@XmlAttribute(name = "ContentType")
protected String contentType;
@XmlAttribute(name = "ContentEncoding")
protected String contentEncoding;
@XmlAttribute(name = "ServerType")
protected String serverType;
/**
* Gets the value of the receiveTimeout property.
*
* @return
* possible object is
* {@link Long }
*
*/
public long getReceiveTimeout() {
if (receiveTimeout == null) {
return 30000L;
} else {
return receiveTimeout;
}
}
/**
* Sets the value of the receiveTimeout property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setReceiveTimeout(long value) {
this.receiveTimeout = value;
}
public boolean isSetReceiveTimeout() {
return (this.receiveTimeout!= null);
}
public void unsetReceiveTimeout() {
this.receiveTimeout = null;
}
/**
* Gets the value of the suppressClientSendErrors property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isSuppressClientSendErrors() {
if (suppressClientSendErrors == null) {
return false;
} else {
return suppressClientSendErrors;
}
}
/**
* Sets the value of the suppressClientSendErrors property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setSuppressClientSendErrors(boolean value) {
this.suppressClientSendErrors = value;
}
public boolean isSetSuppressClientSendErrors() {
return (this.suppressClientSendErrors!= null);
}
public void unsetSuppressClientSendErrors() {
this.suppressClientSendErrors = null;
}
/**
* Gets the value of the suppressClientReceiveErrors property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isSuppressClientReceiveErrors() {
if (suppressClientReceiveErrors == null) {
return false;
} else {
return suppressClientReceiveErrors;
}
}
/**
* Sets the value of the suppressClientReceiveErrors property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setSuppressClientReceiveErrors(boolean value) {
this.suppressClientReceiveErrors = value;
}
public boolean isSetSuppressClientReceiveErrors() {
return (this.suppressClientReceiveErrors!= null);
}
public void unsetSuppressClientReceiveErrors() {
this.suppressClientReceiveErrors = null;
}
/**
* Gets the value of the honorKeepAlive property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isHonorKeepAlive() {
if (honorKeepAlive == null) {
return true;
} else {
return honorKeepAlive;
}
}
/**
* Sets the value of the honorKeepAlive property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setHonorKeepAlive(boolean value) {
this.honorKeepAlive = value;
}
public boolean isSetHonorKeepAlive() {
return (this.honorKeepAlive!= null);
}
public void unsetHonorKeepAlive() {
this.honorKeepAlive = null;
}
/**
* Gets the value of the keepAliveParameters property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKeepAliveParameters() {
return keepAliveParameters;
}
/**
* Sets the value of the keepAliveParameters property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKeepAliveParameters(String value) {
this.keepAliveParameters = value;
}
public boolean isSetKeepAliveParameters() {
return (this.keepAliveParameters!= null);
}
/**
* Gets the value of the redirectURL property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRedirectURL() {
return redirectURL;
}
/**
* Sets the value of the redirectURL property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRedirectURL(String value) {
this.redirectURL = value;
}
public boolean isSetRedirectURL() {
return (this.redirectURL!= null);
}
/**
* Gets the value of the cacheControl property.
*
* @return
* possible object is
* {@link ServerCacheControlType }
*
*/
public ServerCacheControlType getCacheControl() {
return cacheControl;
}
/**
* Sets the value of the cacheControl property.
*
* @param value
* allowed object is
* {@link ServerCacheControlType }
*
*/
public void setCacheControl(ServerCacheControlType value) {
this.cacheControl = value;
}
public boolean isSetCacheControl() {
return (this.cacheControl!= null);
}
/**
* Gets the value of the contentLocation property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getContentLocation() {
return contentLocation;
}
/**
* Sets the value of the contentLocation property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setContentLocation(String value) {
this.contentLocation = value;
}
public boolean isSetContentLocation() {
return (this.contentLocation!= null);
}
/**
* Gets the value of the contentType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getContentType() {
return contentType;
}
/**
* Sets the value of the contentType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setContentType(String value) {
this.contentType = value;
}
public boolean isSetContentType() {
return (this.contentType!= null);
}
/**
* Gets the value of the contentEncoding property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getContentEncoding() {
return contentEncoding;
}
/**
* Sets the value of the contentEncoding property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setContentEncoding(String value) {
this.contentEncoding = value;
}
public boolean isSetContentEncoding() {
return (this.contentEncoding!= null);
}
/**
* Gets the value of the serverType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getServerType() {
return serverType;
}
/**
* Sets the value of the serverType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setServerType(String value) {
this.serverType = value;
}
public boolean isSetServerType() {
return (this.serverType!= null);
}
}