Class AbstractConnectionFactory

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container

        org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

        org.eclipse.jetty.util.component.LifeCycle.Listener
    • Field Summary

      • Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
      • Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

        KEY
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected AbstractConnection configure​(AbstractConnection connection, Connector connector, EndPoint endPoint)  
      static ConnectionFactory[] getFactories​(org.eclipse.jetty.util.ssl.SslContextFactory sslContextFactory, ConnectionFactory... factories)  
      int getInputBufferSize()  
      java.lang.String getProtocol()  
      java.util.List<java.lang.String> getProtocols()  
      void setInputBufferSize​(int size)  
      java.lang.String toString()  
      • Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle

        addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
      • Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.eclipse.jetty.util.component.Dumpable

        dumpSelf
    • Constructor Detail

      • AbstractConnectionFactory

        protected AbstractConnectionFactory​(java.lang.String protocol)
      • AbstractConnectionFactory

        protected AbstractConnectionFactory​(java.lang.String... protocols)
    • Method Detail

      • getProtocol

        @ManagedAttribute(value="The protocol name",
                          readonly=true)
        public java.lang.String getProtocol()
        Specified by:
        getProtocol in interface ConnectionFactory
        Returns:
        A string representing the primary protocol name.
      • getProtocols

        public java.util.List<java.lang.String> getProtocols()
        Specified by:
        getProtocols in interface ConnectionFactory
        Returns:
        A list of alternative protocol names/versions including the primary protocol.
      • getInputBufferSize

        @ManagedAttribute("The buffer size used to read from the network")
        public int getInputBufferSize()
      • setInputBufferSize

        public void setInputBufferSize​(int size)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class org.eclipse.jetty.util.component.AbstractLifeCycle