Class JettyHTTPServerEngineConfigType

java.lang.Object
org.apache.cxf.transports.http_jetty.configuration.JettyHTTPServerEngineConfigType

public class JettyHTTPServerEngineConfigType extends Object

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 Details

    • tlsServerParameters

      protected org.apache.cxf.configuration.security.TLSServerParametersType tlsServerParameters
      Specifies an instance of the security parameters for the Jetty instance.
    • tlsServerParametersRef

      protected ParametersRefType tlsServerParametersRef
      Specifies a reference to a reusable set of security parameters.
    • threadingParameters

      protected ThreadingParametersType threadingParameters
      Specifies an instance of the threading configuration use for the Jetty engine.
    • threadingParametersRef

      protected ParametersRefType threadingParametersRef
      Specifies a reference to a reusable set of threading parameters.
    • connector

      protected Object connector
    • handlers

      protected Object handlers
    • sessionSupport

      protected Boolean sessionSupport
    • sessionTimeout

      protected Integer sessionTimeout
    • reuseAddress

      protected Boolean reuseAddress
    • port

      protected Integer 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

      protected String 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

      protected Boolean 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

      protected Integer 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

      protected Boolean 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 is TLSServerParametersType
      See Also:
    • getTlsServerParametersRef

      public ParametersRefType getTlsServerParametersRef()
      Specifies a reference to a reusable set of security parameters.
      Returns:
      possible object is ParametersRefType
    • setTlsServerParametersRef

      public void setTlsServerParametersRef(ParametersRefType value)
      Sets the value of the tlsServerParametersRef property.
      Parameters:
      value - allowed object is ParametersRefType
      See Also:
    • getThreadingParameters

      public ThreadingParametersType getThreadingParameters()
      Specifies an instance of the threading configuration use for the Jetty engine.
      Returns:
      possible object is ThreadingParametersType
    • setThreadingParameters

      public void setThreadingParameters(ThreadingParametersType value)
      Sets the value of the threadingParameters property.
      Parameters:
      value - allowed object is ThreadingParametersType
      See Also:
    • getThreadingParametersRef

      public ParametersRefType getThreadingParametersRef()
      Specifies a reference to a reusable set of threading parameters.
      Returns:
      possible object is ParametersRefType
    • setThreadingParametersRef

      public void setThreadingParametersRef(ParametersRefType value)
      Sets the value of the threadingParametersRef property.
      Parameters:
      value - allowed object is ParametersRefType
      See Also:
    • getConnector

      public Object getConnector()
      Gets the value of the connector property.
      Returns:
      possible object is Object
    • setConnector

      public void setConnector(Object value)
      Sets the value of the connector property.
      Parameters:
      value - allowed object is Object
    • getHandlers

      public Object getHandlers()
      Gets the value of the handlers property.
      Returns:
      possible object is Object
    • setHandlers

      public void setHandlers(Object value)
      Sets the value of the handlers property.
      Parameters:
      value - allowed object is Object
    • isSessionSupport

      public Boolean isSessionSupport()
      Gets the value of the sessionSupport property.
      Returns:
      possible object is Boolean
    • setSessionSupport

      public void setSessionSupport(Boolean value)
      Sets the value of the sessionSupport property.
      Parameters:
      value - allowed object is Boolean
    • getSessionTimeout

      public Integer getSessionTimeout()
      Gets the value of the sessionTimeout property.
      Returns:
      possible object is Integer
    • setSessionTimeout

      public void setSessionTimeout(Integer value)
      Sets the value of the sessionTimeout property.
      Parameters:
      value - allowed object is Integer
    • isReuseAddress

      public Boolean isReuseAddress()
      Gets the value of the reuseAddress property.
      Returns:
      possible object is Boolean
    • setReuseAddress

      public void setReuseAddress(Boolean value)
      Sets the value of the reuseAddress property.
      Parameters:
      value - allowed object is Boolean
    • getPort

      public Integer 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

      public void setPort(Integer value)
      Sets the value of the port property.
      Parameters:
      value - allowed object is Integer
      See Also:
    • getHost

      public String 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

      public void setHost(String value)
      Sets the value of the host property.
      Parameters:
      value - allowed object is String
      See Also:
    • isContinuationsEnabled

      public Boolean 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

      public void setContinuationsEnabled(Boolean value)
      Sets the value of the continuationsEnabled property.
      Parameters:
      value - allowed object is Boolean
      See Also:
    • getMaxIdleTime

      public Integer 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

      public void setMaxIdleTime(Integer value)
      Sets the value of the maxIdleTime property.
      Parameters:
      value - allowed object is Integer
      See Also:
    • isSendServerVersion

      public Boolean 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

      public void setSendServerVersion(Boolean value)
      Sets the value of the sendServerVersion property.
      Parameters:
      value - allowed object is Boolean
      See Also: