Class JettyHTTPServerEngineConfigType
java.lang.Object
org.apache.cxf.transports.http_jetty.configuration.JettyHTTPServerEngineConfigType
Java class for JettyHTTPServerEngineConfigType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="JettyHTTPServerEngineConfigType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice minOccurs="0">
<element name="tlsServerParameters" type="{http://cxf.apache.org/configuration/security}TLSServerParametersType"/>
<element name="tlsServerParametersRef" type="{http://cxf.apache.org/transports/http-jetty/configuration}ParametersRefType"/>
</choice>
<choice minOccurs="0">
<element name="threadingParameters" type="{http://cxf.apache.org/transports/http-jetty/configuration}ThreadingParametersType"/>
<element name="threadingParametersRef" type="{http://cxf.apache.org/transports/http-jetty/configuration}ParametersRefType"/>
</choice>
<element name="connector" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
<element name="handlers" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
<element name="sessionSupport" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedBoolean" minOccurs="0"/>
<element name="sessionTimeout" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="reuseAddress" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedBoolean" minOccurs="0"/>
</sequence>
<attribute name="port" use="required" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedInt" />
<attribute name="host" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="continuationsEnabled" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedBoolean" />
<attribute name="maxIdleTime" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedInt" />
<attribute name="sendServerVersion" type="{http://cxf.apache.org/configuration/parameterized-types}ParameterizedBoolean" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Objectprotected BooleanSpecifies if Jetty Continuations will be explicitly supported by Jetty destinations.protected Objectprotected StringSpecifies the listen address used by the Jetty instance.protected IntegerSpecifies the maximum idle time for a jetty connection.protected IntegerSpecifies the port used by the Jetty instance.protected Booleanprotected BooleanSpecifies if Jetty Server prevent the Server: http header being sent.protected Booleanprotected Integerprotected ThreadingParametersTypeSpecifies an instance of the threading configuration use for the Jetty engine.protected ParametersRefTypeSpecifies a reference to a reusable set of threading parameters.protected org.apache.cxf.configuration.security.TLSServerParametersTypeSpecifies an instance of the security parameters for the Jetty instance.protected ParametersRefTypeSpecifies a reference to a reusable set of security parameters. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the connector property.Gets the value of the handlers property.getHost()Specifies the listen address used by the Jetty instance.Specifies the maximum idle time for a jetty connection.getPort()Specifies the port used by the Jetty instance.Gets the value of the sessionTimeout property.Specifies an instance of the threading configuration use for the Jetty engine.Specifies a reference to a reusable set of threading parameters.org.apache.cxf.configuration.security.TLSServerParametersTypeSpecifies an instance of the security parameters for the Jetty instance.Specifies a reference to a reusable set of security parameters.Specifies if Jetty Continuations will be explicitly supported by Jetty destinations.Gets the value of the reuseAddress property.Specifies if Jetty Server prevent the Server: http header being sent.Gets the value of the sessionSupport property.voidsetConnector(Object value) Sets the value of the connector property.voidsetContinuationsEnabled(Boolean value) Sets the value of the continuationsEnabled property.voidsetHandlers(Object value) Sets the value of the handlers property.voidSets the value of the host property.voidsetMaxIdleTime(Integer value) Sets the value of the maxIdleTime property.voidSets the value of the port property.voidsetReuseAddress(Boolean value) Sets the value of the reuseAddress property.voidsetSendServerVersion(Boolean value) Sets the value of the sendServerVersion property.voidsetSessionSupport(Boolean value) Sets the value of the sessionSupport property.voidsetSessionTimeout(Integer value) Sets the value of the sessionTimeout property.voidSets the value of the threadingParameters property.voidSets the value of the threadingParametersRef property.voidsetTlsServerParameters(org.apache.cxf.configuration.security.TLSServerParametersType value) Sets the value of the tlsServerParameters property.voidSets the value of the tlsServerParametersRef property.
-
Field Details
-
tlsServerParameters
protected org.apache.cxf.configuration.security.TLSServerParametersType tlsServerParametersSpecifies an instance of the security parameters for the Jetty instance. -
tlsServerParametersRef
Specifies a reference to a reusable set of security parameters. -
threadingParameters
Specifies an instance of the threading configuration use for the Jetty engine. -
threadingParametersRef
Specifies a reference to a reusable set of threading parameters. -
connector
-
handlers
-
sessionSupport
-
sessionTimeout
-
reuseAddress
-
port
Specifies the port used by the Jetty instance. You can specify a value of 0 for the port attribute. Any threading properties specified in an engine element with its port attribute set to 0 are used as the configuration for all Jetty listeners that are not explicitly configured. -
host
Specifies the listen address used by the Jetty instance. Value can be a hostname or ip address. If not specified, Jetty will listen on all local addresses. -
continuationsEnabled
Specifies if Jetty Continuations will be explicitly supported by Jetty destinations. Continuations will be checked if this attribute is set to true or omitted, ignored otherwise. -
maxIdleTime
Specifies the maximum idle time for a jetty connection. The timer is reset whenever there are any read or write actions on the underlying stream. -
sendServerVersion
Specifies if Jetty Server prevent the Server: http header being sent. Server: http header will be sent if this attribute is set to true or omitted, won't be sent otherwise.
-
-
Constructor Details
-
JettyHTTPServerEngineConfigType
public JettyHTTPServerEngineConfigType()
-
-
Method Details
-
getTlsServerParameters
public org.apache.cxf.configuration.security.TLSServerParametersType getTlsServerParameters()Specifies an instance of the security parameters for the Jetty instance.- Returns:
- possible object is
TLSServerParametersType
-
setTlsServerParameters
public void setTlsServerParameters(org.apache.cxf.configuration.security.TLSServerParametersType value) Sets the value of the tlsServerParameters property.- Parameters:
value- allowed object isTLSServerParametersType- See Also:
-
getTlsServerParametersRef
Specifies a reference to a reusable set of security parameters.- Returns:
- possible object is
ParametersRefType
-
setTlsServerParametersRef
Sets the value of the tlsServerParametersRef property.- Parameters:
value- allowed object isParametersRefType- See Also:
-
getThreadingParameters
Specifies an instance of the threading configuration use for the Jetty engine.- Returns:
- possible object is
ThreadingParametersType
-
setThreadingParameters
Sets the value of the threadingParameters property.- Parameters:
value- allowed object isThreadingParametersType- See Also:
-
getThreadingParametersRef
Specifies a reference to a reusable set of threading parameters.- Returns:
- possible object is
ParametersRefType
-
setThreadingParametersRef
Sets the value of the threadingParametersRef property.- Parameters:
value- allowed object isParametersRefType- See Also:
-
getConnector
Gets the value of the connector property.- Returns:
- possible object is
Object
-
setConnector
Sets the value of the connector property.- Parameters:
value- allowed object isObject
-
getHandlers
Gets the value of the handlers property.- Returns:
- possible object is
Object
-
setHandlers
Sets the value of the handlers property.- Parameters:
value- allowed object isObject
-
isSessionSupport
Gets the value of the sessionSupport property.- Returns:
- possible object is
Boolean
-
setSessionSupport
Sets the value of the sessionSupport property.- Parameters:
value- allowed object isBoolean
-
getSessionTimeout
Gets the value of the sessionTimeout property.- Returns:
- possible object is
Integer
-
setSessionTimeout
Sets the value of the sessionTimeout property.- Parameters:
value- allowed object isInteger
-
isReuseAddress
Gets the value of the reuseAddress property.- Returns:
- possible object is
Boolean
-
setReuseAddress
Sets the value of the reuseAddress property.- Parameters:
value- allowed object isBoolean
-
getPort
Specifies the port used by the Jetty instance. You can specify a value of 0 for the port attribute. Any threading properties specified in an engine element with its port attribute set to 0 are used as the configuration for all Jetty listeners that are not explicitly configured.- Returns:
- possible object is
Integer
-
setPort
Sets the value of the port property. -
getHost
Specifies the listen address used by the Jetty instance. Value can be a hostname or ip address. If not specified, Jetty will listen on all local addresses.- Returns:
- possible object is
String
-
setHost
Sets the value of the host property. -
isContinuationsEnabled
Specifies if Jetty Continuations will be explicitly supported by Jetty destinations. Continuations will be checked if this attribute is set to true or omitted, ignored otherwise.- Returns:
- possible object is
Boolean
-
setContinuationsEnabled
Sets the value of the continuationsEnabled property.- Parameters:
value- allowed object isBoolean- See Also:
-
getMaxIdleTime
Specifies the maximum idle time for a jetty connection. The timer is reset whenever there are any read or write actions on the underlying stream.- Returns:
- possible object is
Integer
-
setMaxIdleTime
Sets the value of the maxIdleTime property.- Parameters:
value- allowed object isInteger- See Also:
-
isSendServerVersion
Specifies if Jetty Server prevent the Server: http header being sent. Server: http header will be sent if this attribute is set to true or omitted, won't be sent otherwise.- Returns:
- possible object is
Boolean
-
setSendServerVersion
Sets the value of the sendServerVersion property.- Parameters:
value- allowed object isBoolean- See Also:
-